pub enum Keep {
Lowest,
Highest,
}Expand description
Which incomplete samples a Reassembler keeps when it has too many.
Variants§
Lowest
The lowest sequence numbers, which a reliable reader delivers first. Fragments of a higher one are dropped, to be repaired later.
Highest
The highest sequence numbers, the newest, for a best-effort reader. The oldest incomplete sample is dropped.
Trait Implementations§
impl Copy for Keep
impl Eq for Keep
impl StructuralPartialEq for Keep
Auto Trait Implementations§
impl Forget for Keep
impl Freeze for Keep
impl Move for Keep
impl RefUnwindSafe for Keep
impl Send for Keep
impl Sync for Keep
impl Unpin for Keep
impl UnsafeUnpin for Keep
impl UnwindSafe for Keep
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