Struct default_net::Interface[][src]

pub struct Interface {
    pub index: u32,
    pub name: String,
    pub mac: Option<String>,
    pub ipv4: Vec<Ipv4Addr>,
    pub ipv6: Vec<Ipv6Addr>,
    pub gateway: Gateway,
}
Expand description

Struct of default Network Interface information

Fields

index: u32name: Stringmac: Option<String>ipv4: Vec<Ipv4Addr>ipv6: Vec<Ipv6Addr>gateway: Gateway

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

Performs the conversion.

Performs the conversion.

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.