pub struct FragmentAssembler { /* private fields */ }Implementations§
Source§impl FragmentAssembler
impl FragmentAssembler
pub fn new() -> Self
Sourcepub fn process_chunk(&mut self, frame: CryptoFrame) -> Option<Vec<u8>>
pub fn process_chunk(&mut self, frame: CryptoFrame) -> Option<Vec<u8>>
Process a new CryptoFrame chunk. Returns Some(reassembled_packet) if this chunk completes the packet.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FragmentAssembler
impl RefUnwindSafe for FragmentAssembler
impl Send for FragmentAssembler
impl Sync for FragmentAssembler
impl Unpin for FragmentAssembler
impl UnsafeUnpin for FragmentAssembler
impl UnwindSafe for FragmentAssembler
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