pub enum MtuState {
Initial,
Probing {
low: usize,
high: usize,
current: usize,
},
Confirmed(usize),
FallbackToMin,
}Expand description
State of the MTU negotiation process.
Variants§
Initial
Initial state — no probing done yet.
Probing
Binary search in progress.
Confirmed(usize)
MTU confirmed — discovery complete.
FallbackToMin
Fell back to minimum safe MTU after all probes failed.
Trait Implementations§
impl StructuralPartialEq for MtuState
Auto Trait Implementations§
impl Freeze for MtuState
impl RefUnwindSafe for MtuState
impl Send for MtuState
impl Sync for MtuState
impl Unpin for MtuState
impl UnsafeUnpin for MtuState
impl UnwindSafe for MtuState
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