Enum rtnetlink::RouteProtocol[][src]

pub enum RouteProtocol {
    Unspec,
    Redirect,
    Kernel,
    Boot,
    Static,
    Gated,
    Ra,
    Mrt,
    Zebra,
    Bird,
    Dnrouted,
    Xorp,
    Ntk,
    Dhcp,
    Mrouted,
    Babel,
    Unknown(u8),
}

Route origin

Variants

Unknown

Route was learnt by an ICMP redirect

Route was learnt by the kernel

Route was learnt during boot

Route was set statically

Trait Implementations

impl Debug for RouteProtocol
[src]

Formats the value using the given formatter. Read more

impl PartialEq for RouteProtocol
[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 RouteProtocol
[src]

impl Hash for RouteProtocol
[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 RouteProtocol
[src]

impl Clone for RouteProtocol
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl From<RouteProtocol> for u8
[src]

Performs the conversion.

impl From<u8> for RouteProtocol
[src]

Performs the conversion.

Auto Trait Implementations