Struct netlink_packet_route::rtnl::rule::header::RuleHeader [−][src]
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: u8
src_len: u8
tos: u8
table: u8
RT_TABLE_*
action: u8
FR_ACT_*
flags: u32
fib rule flags
Trait Implementations
Returns the “default value” for a type. Read more
Deserialize the current type.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for RuleHeader
impl Send for RuleHeader
impl Sync for RuleHeader
impl Unpin for RuleHeader
impl UnwindSafe for RuleHeader
Blanket Implementations
Mutably borrows from an owned value. Read more