Struct netlink_packet_route::tc::TcU32Selector
source · #[non_exhaustive]pub struct TcU32Selector {
pub flags: Vec<TcU32SelectorFlag>,
pub offshift: u8,
pub nkeys: u8,
pub offmask: u16,
pub off: u16,
pub offoff: u16,
pub hoff: u16,
pub hmask: u32,
pub keys: Vec<TcU32Key>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.flags: Vec<TcU32SelectorFlag>
§offshift: u8
§nkeys: u8
§offmask: u16
§off: u16
§offoff: u16
§hoff: u16
§hmask: u32
§keys: Vec<TcU32Key>
Trait Implementations§
source§impl Clone for TcU32Selector
impl Clone for TcU32Selector
source§fn clone(&self) -> TcU32Selector
fn clone(&self) -> TcU32Selector
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 TcU32Selector
impl Debug for TcU32Selector
source§impl Default for TcU32Selector
impl Default for TcU32Selector
source§fn default() -> TcU32Selector
fn default() -> TcU32Selector
Returns the “default value” for a type. Read more
source§impl Emitable for TcU32Selector
impl Emitable for TcU32Selector
source§impl PartialEq for TcU32Selector
impl PartialEq for TcU32Selector
source§fn eq(&self, other: &TcU32Selector) -> bool
fn eq(&self, other: &TcU32Selector) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for TcU32Selector
impl StructuralPartialEq for TcU32Selector
Auto Trait Implementations§
impl RefUnwindSafe for TcU32Selector
impl Send for TcU32Selector
impl Sync for TcU32Selector
impl Unpin for TcU32Selector
impl UnwindSafe for TcU32Selector
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