pub struct AeronControlledFragmentClosureAssembler { /* private fields */ }Implementations§
Source§impl AeronControlledFragmentClosureAssembler
impl AeronControlledFragmentClosureAssembler
pub fn new() -> Result<Self, AeronCError>
Sourcepub fn poll<P: ControlledFragmentAssemblable, T>(
&mut self,
pollable: &P,
ctx: &mut T,
func: fn(&mut T, &[u8], AeronHeader) -> aeron_controlled_fragment_handler_action_t,
fragment_limit: usize,
) -> Result<i32, AeronCError>
pub fn poll<P: ControlledFragmentAssemblable, T>( &mut self, pollable: &P, ctx: &mut T, func: fn(&mut T, &[u8], AeronHeader) -> aeron_controlled_fragment_handler_action_t, fragment_limit: usize, ) -> Result<i32, AeronCError>
Controlled poll of pollable, dispatching each (possibly reassembled) message to
func. ctx is borrowed only for the duration of the call.
Auto Trait Implementations§
impl Freeze for AeronControlledFragmentClosureAssembler
impl !RefUnwindSafe for AeronControlledFragmentClosureAssembler
impl !Send for AeronControlledFragmentClosureAssembler
impl !Sync for AeronControlledFragmentClosureAssembler
impl Unpin for AeronControlledFragmentClosureAssembler
impl UnsafeUnpin for AeronControlledFragmentClosureAssembler
impl !UnwindSafe for AeronControlledFragmentClosureAssembler
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