#[non_exhaustive]pub enum TcFilterU32Option {
ClassId(TcHandle),
Hash(u32),
Link(u32),
Divisor(u32),
Selector(TcU32Selector),
Police(Vec<u8>),
Action(Vec<TcAction>),
Indev(Vec<u8>),
Pnct(Vec<u8>),
Mark(Vec<u8>),
Flags(Vec<TcU32OptionFlag>),
Other(DefaultNla),
}
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.
ClassId(TcHandle)
Hash(u32)
Link(u32)
Divisor(u32)
Selector(TcU32Selector)
Police(Vec<u8>)
Action(Vec<TcAction>)
Indev(Vec<u8>)
Pnct(Vec<u8>)
Mark(Vec<u8>)
Flags(Vec<TcU32OptionFlag>)
Other(DefaultNla)
Trait Implementations§
source§impl Clone for TcFilterU32Option
impl Clone for TcFilterU32Option
source§fn clone(&self) -> TcFilterU32Option
fn clone(&self) -> TcFilterU32Option
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 TcFilterU32Option
impl Debug for TcFilterU32Option
source§impl Nla for TcFilterU32Option
impl Nla for TcFilterU32Option
source§impl PartialEq for TcFilterU32Option
impl PartialEq for TcFilterU32Option
source§fn eq(&self, other: &TcFilterU32Option) -> bool
fn eq(&self, other: &TcFilterU32Option) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for TcFilterU32Option
impl StructuralPartialEq for TcFilterU32Option
Auto Trait Implementations§
impl RefUnwindSafe for TcFilterU32Option
impl Send for TcFilterU32Option
impl Sync for TcFilterU32Option
impl Unpin for TcFilterU32Option
impl UnwindSafe for TcFilterU32Option
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