#[non_exhaustive]pub struct MtuConfig {
pub initial_mtu: u16,
pub base_mtu: u16,
pub max_mtu: u16,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.initial_mtu: u16§base_mtu: u16§max_mtu: u16Trait Implementations§
Auto Trait Implementations§
impl Freeze for MtuConfig
impl RefUnwindSafe for MtuConfig
impl Send for MtuConfig
impl Sync for MtuConfig
impl Unpin for MtuConfig
impl UnwindSafe for MtuConfig
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