pub struct ConsommeState {
pub net_mask: Ipv4Address,
pub gateway_ip: Ipv4Address,
pub gateway_mac: EthernetAddress,
pub client_ip: Ipv4Address,
pub client_mac: EthernetAddress,
pub nameservers: Vec<Ipv4Address>,
/* private fields */
}
Expand description
Dynamic networking properties of a consomme endpoint.
Fields§
§net_mask: Ipv4Address
Current IPv4 network mask.
gateway_ip: Ipv4Address
Current Ipv4 gateway address.
gateway_mac: EthernetAddress
Current Ipv4 gateway MAC address.
client_ip: Ipv4Address
Current Ipv4 address assigned to endpoint.
client_mac: EthernetAddress
Current client MAC address.
nameservers: Vec<Ipv4Address>
Current list of DNS resolvers.
Implementations§
Auto Trait Implementations§
impl Freeze for ConsommeState
impl RefUnwindSafe for ConsommeState
impl Send for ConsommeState
impl Sync for ConsommeState
impl Unpin for ConsommeState
impl UnwindSafe for ConsommeState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more