#[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(TcU32OptionFlags),
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(TcU32OptionFlags)
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
impl Eq for TcFilterU32Option
impl StructuralPartialEq for TcFilterU32Option
Auto Trait Implementations§
impl Freeze for TcFilterU32Option
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)