pub struct InterfaceConfig {Show 15 fields
pub name: Vec<u8>,
pub type_: Vec<u8>,
pub description: Vec<u8>,
pub hwaddr: NetAddress,
pub address: NetAddress,
pub destination: NetAddress,
pub broadcast: NetAddress,
pub netmask: NetAddress,
pub address6: NetAddress,
pub prefix6_length: i32,
pub scope6: i32,
pub flags: u64,
pub mtu: u64,
pub metric: u64,
pub tx_queue_len: i32,
}
Formats the value using the given formatter.
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.