#[non_exhaustive]pub enum TcAttribute {
Kind(String),
Options(Vec<TcOption>),
Stats(TcStats),
Xstats(TcXstats),
Rate(Vec<u8>),
Fcnt(Vec<u8>),
Stats2(Vec<TcStats2>),
Stab(Vec<u8>),
Chain(u32),
HwOffload(u8),
DumpInvisible(bool),
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.
Kind(String)
Name of queueing discipline
Options(Vec<TcOption>)
Options follow
Stats(TcStats)
Statistics
Xstats(TcXstats)
Module-specific statistics
Rate(Vec<u8>)
Rate limit
Fcnt(Vec<u8>)
Stats2(Vec<TcStats2>)
Stab(Vec<u8>)
Chain(u32)
HwOffload(u8)
DumpInvisible(bool)
Other(DefaultNla)
Trait Implementations§
Source§impl Clone for TcAttribute
impl Clone for TcAttribute
Source§fn clone(&self) -> TcAttribute
fn clone(&self) -> TcAttribute
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 TcAttribute
impl Debug for TcAttribute
Source§impl Nla for TcAttribute
impl Nla for TcAttribute
Source§impl<'a, T: AsRef<[u8]> + ?Sized> ParseableParametrized<NlaBuffer<&'a T>, &str> for TcAttribute
impl<'a, T: AsRef<[u8]> + ?Sized> ParseableParametrized<NlaBuffer<&'a T>, &str> for TcAttribute
Source§impl PartialEq for TcAttribute
impl PartialEq for TcAttribute
impl Eq for TcAttribute
impl StructuralPartialEq for TcAttribute
Auto Trait Implementations§
impl Freeze for TcAttribute
impl RefUnwindSafe for TcAttribute
impl Send for TcAttribute
impl Sync for TcAttribute
impl Unpin for TcAttribute
impl UnwindSafe for TcAttribute
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
)