#[non_exhaustive]pub enum EcnState {
Testing {},
Unknown {},
Failed {},
Capable {},
}
Expand description
The current state of the ECN controller for the path
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.
Testing
ECN capability is being actively tested
Unknown
ECN capability has been tested, but not validated yet
Failed
ECN capability testing has failed validation
Capable
ECN capability has been confirmed
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EcnState
impl RefUnwindSafe for EcnState
impl Send for EcnState
impl Sync for EcnState
impl Unpin for EcnState
impl UnwindSafe for EcnState
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