pub enum Reassembly {
Pending,
Done(Vec<u8>),
}Expand description
What the reassembler did with a segment.
Variants§
Pending
More segments are needed.
Done(Vec<u8>)
The datagram is whole; answer the sender with complete.
Trait Implementations§
Source§impl Clone for Reassembly
impl Clone for Reassembly
Source§impl Debug for Reassembly
impl Debug for Reassembly
impl Eq for Reassembly
Source§impl PartialEq for Reassembly
impl PartialEq for Reassembly
impl StructuralPartialEq for Reassembly
Auto Trait Implementations§
impl Freeze for Reassembly
impl RefUnwindSafe for Reassembly
impl Send for Reassembly
impl Sync for Reassembly
impl Unpin for Reassembly
impl UnsafeUnpin for Reassembly
impl UnwindSafe for Reassembly
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