Enum rtnetlink::RouteScope[][src]

pub enum RouteScope {
    Universe,
    Site,
    Link,
    Host,
    Nowhere,
    Unknown(u8),
}

Distance to the destination

Variants

Global route

Interior route in the local autonomous system

Route on this link

Route on the local host

Destination doesn't exist

Trait Implementations

impl Debug for RouteScope
[src]

Formats the value using the given formatter. Read more

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

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

impl Clone for RouteScope
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl From<RouteScope> for u8
[src]

Performs the conversion.

impl From<u8> for RouteScope
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for RouteScope

impl Sync for RouteScope