#[non_exhaustive]pub enum TcActionMessageAttribute {
Actions(Vec<TcAction>),
Flags(TcActionMessageFlagsWithSelector),
RootCount(u32),
RootTimeDelta(u32),
RootExtWarnMsg(String),
Other(DefaultNla),
}
Expand description
This enum is used to represent the different types of attributes that can be
part of a TcActionMessage
.
This enum is non-exhaustive, additional variants may be added in the future.
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.
Actions(Vec<TcAction>)
Collection of TcActions
.
Flags(TcActionMessageFlagsWithSelector)
Flags to configure action dumps (list operations).
RootCount(u32)
Number of actions being dumped.
RootTimeDelta(u32)
Time delta.
RootExtWarnMsg(String)
Extended warning message.
Other(DefaultNla)
Other attributes unknown at the time of writing.
Trait Implementations§
source§impl Clone for TcActionMessageAttribute
impl Clone for TcActionMessageAttribute
source§fn clone(&self) -> TcActionMessageAttribute
fn clone(&self) -> TcActionMessageAttribute
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 TcActionMessageAttribute
impl Debug for TcActionMessageAttribute
source§impl Nla for TcActionMessageAttribute
impl Nla for TcActionMessageAttribute
source§impl<'a, T: AsRef<[u8]> + 'a + ?Sized> Parseable<NlaBuffer<&'a T>> for TcActionMessageAttribute
impl<'a, T: AsRef<[u8]> + 'a + ?Sized> Parseable<NlaBuffer<&'a T>> for TcActionMessageAttribute
source§impl PartialEq for TcActionMessageAttribute
impl PartialEq for TcActionMessageAttribute
impl Eq for TcActionMessageAttribute
impl StructuralPartialEq for TcActionMessageAttribute
Auto Trait Implementations§
impl Freeze for TcActionMessageAttribute
impl RefUnwindSafe for TcActionMessageAttribute
impl Send for TcActionMessageAttribute
impl Sync for TcActionMessageAttribute
impl Unpin for TcActionMessageAttribute
impl UnwindSafe for TcActionMessageAttribute
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
)