Struct rtnetlink::RouteFlags[][src]

pub struct RouteFlags(_);

Methods

impl RouteFlags
[src]

Create a new empty flags field (no flag is set)

Check whether theRTM_F_NOTIFY flag is set. If this flag is set and the route changes, a rtnetlink notification is sent to the user by the kernel.

Set the RTM_F_NOTIFY flag. If this flag is set and the route changes, a rtnetlink notification is sent to the user by the kernel.

Check whether theRTM_F_CLONED flag is set. This flag is set if the route is cloned from another route.

Set theRTM_F_CLONED flag. This flag is set if the route is cloned from another route.

Check whether theRTM_F_EQUALIZE flag is set.

Set theRTM_F_EQUALIZE flag.

Check whether theRTM_F_PREFIX flag is set.

Set theRTM_F_PREFIX flag.

Check whether theRTM_F_LOOKUP_TABLE flag is set.

Set theRTM_F_LOOKUP_TABLE flag.

Check whether theRTM_F_FIB_MATCH flag is set.

Set theRTM_F_FIB_MATCH flag.

Trait Implementations

impl Debug for RouteFlags
[src]

Formats the value using the given formatter. Read more

impl PartialEq for RouteFlags
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for RouteFlags
[src]

impl Hash for RouteFlags
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Copy for RouteFlags
[src]

impl Clone for RouteFlags
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl From<u32> for RouteFlags
[src]

Performs the conversion.

impl From<RouteFlags> for u32
[src]

Performs the conversion.

impl Default for RouteFlags
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for RouteFlags

impl Sync for RouteFlags