pub struct PathMtu {
pub mtu: usize,
pub fragment_size: usize,
pub measured_at: Instant,
pub is_probed: bool,
}Expand description
The result of MTU discovery for a network path.
Fields§
§mtu: usizeThe discovered path MTU in bytes.
fragment_size: usizeRecommended VCL fragment_size for this path.
measured_at: InstantWhen this MTU was last confirmed.
is_probed: boolWhether this value was actively probed or is a safe default.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PathMtu
impl RefUnwindSafe for PathMtu
impl Send for PathMtu
impl Sync for PathMtu
impl Unpin for PathMtu
impl UnsafeUnpin for PathMtu
impl UnwindSafe for PathMtu
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