Struct sigar_rs::net::Route

source ·
pub struct Route {
    pub destination: NetAddress,
    pub gateway: NetAddress,
    pub mask: NetAddress,
    pub flags: u64,
    pub refcnt: u64,
    pub use_: u64,
    pub metric: u64,
    pub mtu: u64,
    pub window: u64,
    pub irtt: u64,
    pub ifname: Vec<u8>,
}

Fields§

§destination: NetAddress§gateway: NetAddress§mask: NetAddress§flags: u64§refcnt: u64§use_: u64§metric: u64§mtu: u64§window: u64§irtt: u64§ifname: Vec<u8>

Trait Implementations§

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.