[][src]Struct netlink_packet_route::rtnl::rule::header::RuleHeader

pub struct RuleHeader {
    pub family: u8,
    pub dst_len: u8,
    pub src_len: u8,
    pub tos: u8,
    pub table: u8,
    pub action: u8,
    pub flags: u32,
}

Fields

family: u8

Address family: one of the AF_* constants.

dst_len: u8src_len: u8tos: u8table: u8

RT_TABLE_*

action: u8

FR_ACT_*

flags: u32

fib rule flags

Trait Implementations

impl Clone for RuleHeader[src]

impl Debug for RuleHeader[src]

impl Default for RuleHeader[src]

impl Emitable for RuleHeader[src]

impl Eq for RuleHeader[src]

impl<'a, T: AsRef<[u8]> + ?Sized> Parseable<RuleMessageBuffer<&'a T>> for RuleHeader[src]

impl PartialEq<RuleHeader> for RuleHeader[src]

impl StructuralEq for RuleHeader[src]

impl StructuralPartialEq for RuleHeader[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.