#[repr(C)]pub struct fib_rule_hdr {
pub family: __u8,
pub dst_len: __u8,
pub src_len: __u8,
pub tos: __u8,
pub table: __u8,
pub res1: __u8,
pub res2: __u8,
pub action: __u8,
pub flags: __u32,
}Fields§
§family: __u8§dst_len: __u8§src_len: __u8§tos: __u8§table: __u8§res1: __u8§res2: __u8§action: __u8§flags: __u32Trait Implementations§
Source§impl Clone for fib_rule_hdr
impl Clone for fib_rule_hdr
Source§fn clone(&self) -> fib_rule_hdr
fn clone(&self) -> fib_rule_hdr
Returns a duplicate 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 fib_rule_hdr
impl Debug for fib_rule_hdr
impl Copy for fib_rule_hdr
Auto Trait Implementations§
impl Freeze for fib_rule_hdr
impl RefUnwindSafe for fib_rule_hdr
impl Send for fib_rule_hdr
impl Sync for fib_rule_hdr
impl Unpin for fib_rule_hdr
impl UnwindSafe for fib_rule_hdr
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