Struct nix::net::if_::Interface[][src]

#[repr(transparent)]
pub struct Interface(_);
Expand description

A network interface. Has a name like “eth0” or “wlp4s0” or “wlan0”, as well as an index (1, 2, 3, etc) that identifies it in the OS’s networking stack.

Implementations

Obtain the index of this interface.

Obtain the name of this interface.

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

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.