#[non_exhaustive]pub struct TcMirred {
pub index: u32,
pub capab: u32,
pub action: i32,
pub refcnt: i32,
pub bindcnt: i32,
pub eaction: i32,
pub ifindex: u32,
}
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.index: u32
§capab: u32
§action: i32
§refcnt: i32
§bindcnt: i32
§eaction: i32
§ifindex: u32
Trait Implementations§
source§impl<T: AsRef<[u8]>> Parseable<TcMirredBuffer<T>> for TcMirred
impl<T: AsRef<[u8]>> Parseable<TcMirredBuffer<T>> for TcMirred
source§fn parse(buf: &TcMirredBuffer<T>) -> Result<Self, DecodeError>
fn parse(buf: &TcMirredBuffer<T>) -> Result<Self, DecodeError>
Deserialize the current type.
source§impl PartialEq<TcMirred> for TcMirred
impl PartialEq<TcMirred> for TcMirred
impl Eq for TcMirred
impl StructuralEq for TcMirred
impl StructuralPartialEq for TcMirred
Auto Trait Implementations§
impl RefUnwindSafe for TcMirred
impl Send for TcMirred
impl Sync for TcMirred
impl Unpin for TcMirred
impl UnwindSafe for TcMirred
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