#[non_exhaustive]pub enum PlatformFeatureConfiguration {
Gso {
max_segments: usize,
},
Gro {
enabled: bool,
},
Ecn {
enabled: bool,
},
BaseMtu {
mtu: u16,
},
InitialMtu {
mtu: u16,
},
MaxMtu {
mtu: u16,
},
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Gso
Emitted when segment offload was configured
Fields
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
Gro
Emitted when receive segment offload was configured
Fields
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
Ecn
Emitted when ECN support is configured
Fields
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
BaseMtu
Emitted when the base maximum transmission unit is configured
Fields
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
InitialMtu
Emitted when the initial maximum transmission unit is configured
Fields
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
MaxMtu
Emitted when the max maximum transmission unit is configured
Trait Implementations§
source§impl Clone for PlatformFeatureConfiguration
impl Clone for PlatformFeatureConfiguration
source§fn clone(&self) -> PlatformFeatureConfiguration
fn clone(&self) -> PlatformFeatureConfiguration
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for PlatformFeatureConfiguration
impl RefUnwindSafe for PlatformFeatureConfiguration
impl Send for PlatformFeatureConfiguration
impl Sync for PlatformFeatureConfiguration
impl Unpin for PlatformFeatureConfiguration
impl UnwindSafe for PlatformFeatureConfiguration
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