Struct rusteron_client::AeronFragmentAssembler
source · pub struct AeronFragmentAssembler { /* private fields */ }
Implementations§
source§impl AeronFragmentAssembler
impl AeronFragmentAssembler
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 aAeronFragmentAssembler
) -
buffer
containing the data. -
header
representing the meta data for the data.
pub fn get_inner(&self) -> *mut aeron_fragment_assembler_t
Trait Implementations§
§impl AeronFragmentHandlerCallback for AeronFragmentAssembler
impl AeronFragmentHandlerCallback for AeronFragmentAssembler
fn handle_aeron_fragment_handler(&mut self, buffer: &[u8], header: AeronHeader)
source§impl Clone for AeronFragmentAssembler
impl Clone for AeronFragmentAssembler
source§fn clone(&self) -> AeronFragmentAssembler
fn clone(&self) -> AeronFragmentAssembler
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 AeronFragmentAssembler
impl Debug for AeronFragmentAssembler
source§impl Deref for AeronFragmentAssembler
impl Deref for AeronFragmentAssembler
source§impl From<&AeronFragmentAssembler> for *mut aeron_fragment_assembler_t
impl From<&AeronFragmentAssembler> for *mut aeron_fragment_assembler_t
source§fn from(value: &AeronFragmentAssembler) -> Self
fn from(value: &AeronFragmentAssembler) -> Self
Converts to this type from the input type.
source§impl From<*const aeron_fragment_assembler_stct> for AeronFragmentAssembler
impl From<*const aeron_fragment_assembler_stct> for AeronFragmentAssembler
source§fn from(value: *const aeron_fragment_assembler_t) -> Self
fn from(value: *const aeron_fragment_assembler_t) -> Self
Converts to this type from the input type.
source§impl From<*mut aeron_fragment_assembler_stct> for AeronFragmentAssembler
impl From<*mut aeron_fragment_assembler_stct> for AeronFragmentAssembler
source§fn from(value: *mut aeron_fragment_assembler_t) -> Self
fn from(value: *mut aeron_fragment_assembler_t) -> Self
Converts to this type from the input type.
source§impl From<AeronFragmentAssembler> for *mut aeron_fragment_assembler_t
impl From<AeronFragmentAssembler> for *mut aeron_fragment_assembler_t
source§fn from(value: AeronFragmentAssembler) -> Self
fn from(value: AeronFragmentAssembler) -> Self
Converts to this type from the input type.
source§impl From<AeronFragmentAssembler> for aeron_fragment_assembler_t
impl From<AeronFragmentAssembler> for aeron_fragment_assembler_t
source§fn from(value: AeronFragmentAssembler) -> Self
fn from(value: AeronFragmentAssembler) -> Self
Converts to this type from the input type.
source§impl From<aeron_fragment_assembler_stct> for AeronFragmentAssembler
impl From<aeron_fragment_assembler_stct> for AeronFragmentAssembler
source§fn from(value: aeron_fragment_assembler_t) -> Self
fn from(value: aeron_fragment_assembler_t) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AeronFragmentAssembler
impl !RefUnwindSafe for AeronFragmentAssembler
impl !Send for AeronFragmentAssembler
impl !Sync for AeronFragmentAssembler
impl Unpin for AeronFragmentAssembler
impl !UnwindSafe for AeronFragmentAssembler
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
)