Enum netlink_packet_route::tc::TcU32OptionFlag
source · #[non_exhaustive]pub enum TcU32OptionFlag {
SkipHw,
SkipSw,
InHw,
NotInHw,
Verbose,
Other(u32),
}
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.
Trait Implementations§
source§impl Clone for TcU32OptionFlag
impl Clone for TcU32OptionFlag
source§fn clone(&self) -> TcU32OptionFlag
fn clone(&self) -> TcU32OptionFlag
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 moresource§impl Debug for TcU32OptionFlag
impl Debug for TcU32OptionFlag
source§impl From<TcU32OptionFlag> for u32
impl From<TcU32OptionFlag> for u32
source§fn from(v: TcU32OptionFlag) -> u32
fn from(v: TcU32OptionFlag) -> u32
Converts to this type from the input type.
source§impl PartialEq for TcU32OptionFlag
impl PartialEq for TcU32OptionFlag
source§fn eq(&self, other: &TcU32OptionFlag) -> bool
fn eq(&self, other: &TcU32OptionFlag) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TcU32OptionFlag
impl Eq for TcU32OptionFlag
impl StructuralPartialEq for TcU32OptionFlag
Auto Trait Implementations§
impl RefUnwindSafe for TcU32OptionFlag
impl Send for TcU32OptionFlag
impl Sync for TcU32OptionFlag
impl Unpin for TcU32OptionFlag
impl UnwindSafe for TcU32OptionFlag
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