pub struct AeronImageControlledFragmentAssembler { /* private fields */ }
Implementations§
source§impl AeronImageControlledFragmentAssembler
impl AeronImageControlledFragmentAssembler
sourcepub fn new<AeronControlledFragmentHandlerHandlerImpl: AeronControlledFragmentHandlerCallback>(
delegate: Option<&Handler<AeronControlledFragmentHandlerHandlerImpl>>,
) -> Result<Self, AeronCError>
pub fn new<AeronControlledFragmentHandlerHandlerImpl: AeronControlledFragmentHandlerCallback>( delegate: Option<&Handler<AeronControlledFragmentHandlerHandlerImpl>>, ) -> 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,
) -> aeron_controlled_fragment_handler_action_t
pub fn handler( clientd: *mut c_void, buffer: &[u8], header: &AeronHeader, ) -> aeron_controlled_fragment_handler_action_t
Handler function to be passed for handling fragment assembly.
§Parameters
-
clientd
passed in the poll call (must be aAeronImageControlledFragmentAssembler
) -
buffer
containing the data. -
header
representing the meta data for the data.
§Return
The action to be taken with regard to the stream position after the callback.
pub fn get_inner(&self) -> *mut aeron_image_controlled_fragment_assembler_t
Trait Implementations§
source§impl Clone for AeronImageControlledFragmentAssembler
impl Clone for AeronImageControlledFragmentAssembler
source§fn clone(&self) -> AeronImageControlledFragmentAssembler
fn clone(&self) -> AeronImageControlledFragmentAssembler
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 From<&AeronImageControlledFragmentAssembler> for *mut aeron_image_controlled_fragment_assembler_t
impl From<&AeronImageControlledFragmentAssembler> for *mut aeron_image_controlled_fragment_assembler_t
source§fn from(value: &AeronImageControlledFragmentAssembler) -> Self
fn from(value: &AeronImageControlledFragmentAssembler) -> Self
Converts to this type from the input type.
source§impl From<*const aeron_image_controlled_fragment_assembler_stct> for AeronImageControlledFragmentAssembler
impl From<*const aeron_image_controlled_fragment_assembler_stct> for AeronImageControlledFragmentAssembler
source§fn from(value: *const aeron_image_controlled_fragment_assembler_t) -> Self
fn from(value: *const aeron_image_controlled_fragment_assembler_t) -> Self
Converts to this type from the input type.
source§impl From<*mut aeron_image_controlled_fragment_assembler_stct> for AeronImageControlledFragmentAssembler
impl From<*mut aeron_image_controlled_fragment_assembler_stct> for AeronImageControlledFragmentAssembler
source§fn from(value: *mut aeron_image_controlled_fragment_assembler_t) -> Self
fn from(value: *mut aeron_image_controlled_fragment_assembler_t) -> Self
Converts to this type from the input type.
source§impl From<AeronImageControlledFragmentAssembler> for *mut aeron_image_controlled_fragment_assembler_t
impl From<AeronImageControlledFragmentAssembler> for *mut aeron_image_controlled_fragment_assembler_t
source§fn from(value: AeronImageControlledFragmentAssembler) -> Self
fn from(value: AeronImageControlledFragmentAssembler) -> Self
Converts to this type from the input type.
source§impl From<AeronImageControlledFragmentAssembler> for aeron_image_controlled_fragment_assembler_t
impl From<AeronImageControlledFragmentAssembler> for aeron_image_controlled_fragment_assembler_t
source§fn from(value: AeronImageControlledFragmentAssembler) -> Self
fn from(value: AeronImageControlledFragmentAssembler) -> Self
Converts to this type from the input type.
source§impl From<aeron_image_controlled_fragment_assembler_stct> for AeronImageControlledFragmentAssembler
impl From<aeron_image_controlled_fragment_assembler_stct> for AeronImageControlledFragmentAssembler
source§fn from(value: aeron_image_controlled_fragment_assembler_t) -> Self
fn from(value: aeron_image_controlled_fragment_assembler_t) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AeronImageControlledFragmentAssembler
impl !RefUnwindSafe for AeronImageControlledFragmentAssembler
impl !Send for AeronImageControlledFragmentAssembler
impl !Sync for AeronImageControlledFragmentAssembler
impl Unpin for AeronImageControlledFragmentAssembler
impl !UnwindSafe for AeronImageControlledFragmentAssembler
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
)