Enum rtnetlink::RouteKind[][src]

pub enum RouteKind {
    Unspec,
    Unicast,
    Local,
    Broadcast,
    Anycast,
    Multicast,
    Blackhole,
    Unreachable,
    Prohibit,
    Throw,
    Nat,
    Xresolve,
    Unknown(u8),
}

Route type

Variants

Unknown route

A gateway or direct route

A local interface route

A local broadcast route (sent as a broadcast)

A local broadcast route (sent as a unicast)

A multicast route

A packet dropping route

An unreachable destination

A packet rejection route

Continue routing lookup in another table

A network address translation rule

Refer to an external resolver (not implemented)

Trait Implementations

impl Debug for RouteKind
[src]

Formats the value using the given formatter. Read more

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

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

impl Clone for RouteKind
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl From<RouteKind> for u8
[src]

Performs the conversion.

impl From<u8> for RouteKind
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for RouteKind

impl Sync for RouteKind