pub struct AeronImageFragmentAssembler { /* private fields */ }
Implementations§
source§impl AeronImageFragmentAssembler
impl AeronImageFragmentAssembler
sourcepub fn new<AeronFragmentHandlerHandlerImpl: AeronFragmentHandlerCallback>(
delegate: Option<&Handler<AeronFragmentHandlerHandlerImpl>>,
) -> Result<Self, AeronCError>
pub fn new<AeronFragmentHandlerHandlerImpl: AeronFragmentHandlerCallback>( delegate: Option<&Handler<AeronFragmentHandlerHandlerImpl>>, ) -> Result<Self, AeronCError>
sourcepub fn delete(&self) -> Result<i32, AeronCError>
pub fn delete(&self) -> Result<i32, AeronCError>
sourcepub fn handler(clientd: *mut c_void, buffer: &[u8], header: &AeronHeader)
pub fn handler(clientd: *mut c_void, buffer: &[u8], header: &AeronHeader)
Handler function to be passed for handling fragment assembly.
§Parameters
-
clientd
passed in the poll call (must be aAeronImageFragmentAssembler
) -
buffer
containing the data. -
header
representing the meta data for the data.
pub fn get_inner(&self) -> *mut aeron_image_fragment_assembler_t
Trait Implementations§
source§impl Clone for AeronImageFragmentAssembler
impl Clone for AeronImageFragmentAssembler
source§fn clone(&self) -> AeronImageFragmentAssembler
fn clone(&self) -> AeronImageFragmentAssembler
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AeronImageFragmentAssembler
impl Debug for AeronImageFragmentAssembler
source§impl Deref for AeronImageFragmentAssembler
impl Deref for AeronImageFragmentAssembler
source§impl From<&AeronImageFragmentAssembler> for *mut aeron_image_fragment_assembler_t
impl From<&AeronImageFragmentAssembler> for *mut aeron_image_fragment_assembler_t
source§fn from(value: &AeronImageFragmentAssembler) -> Self
fn from(value: &AeronImageFragmentAssembler) -> Self
Converts to this type from the input type.
source§impl From<*const aeron_image_fragment_assembler_stct> for AeronImageFragmentAssembler
impl From<*const aeron_image_fragment_assembler_stct> for AeronImageFragmentAssembler
source§fn from(value: *const aeron_image_fragment_assembler_t) -> Self
fn from(value: *const aeron_image_fragment_assembler_t) -> Self
Converts to this type from the input type.
source§impl From<*mut aeron_image_fragment_assembler_stct> for AeronImageFragmentAssembler
impl From<*mut aeron_image_fragment_assembler_stct> for AeronImageFragmentAssembler
source§fn from(value: *mut aeron_image_fragment_assembler_t) -> Self
fn from(value: *mut aeron_image_fragment_assembler_t) -> Self
Converts to this type from the input type.
source§impl From<AeronImageFragmentAssembler> for *mut aeron_image_fragment_assembler_t
impl From<AeronImageFragmentAssembler> for *mut aeron_image_fragment_assembler_t
source§fn from(value: AeronImageFragmentAssembler) -> Self
fn from(value: AeronImageFragmentAssembler) -> Self
Converts to this type from the input type.
source§impl From<AeronImageFragmentAssembler> for aeron_image_fragment_assembler_t
impl From<AeronImageFragmentAssembler> for aeron_image_fragment_assembler_t
source§fn from(value: AeronImageFragmentAssembler) -> Self
fn from(value: AeronImageFragmentAssembler) -> Self
Converts to this type from the input type.
source§impl From<aeron_image_fragment_assembler_stct> for AeronImageFragmentAssembler
impl From<aeron_image_fragment_assembler_stct> for AeronImageFragmentAssembler
source§fn from(value: aeron_image_fragment_assembler_t) -> Self
fn from(value: aeron_image_fragment_assembler_t) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AeronImageFragmentAssembler
impl !RefUnwindSafe for AeronImageFragmentAssembler
impl !Send for AeronImageFragmentAssembler
impl !Sync for AeronImageFragmentAssembler
impl Unpin for AeronImageFragmentAssembler
impl !UnwindSafe for AeronImageFragmentAssembler
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)