pub struct ConsommeParams {
    pub net_mask: Ipv4Address,
    pub gateway_ip: Ipv4Address,
    pub gateway_mac: EthernetAddress,
    pub client_ip: Ipv4Address,
    pub client_mac: EthernetAddress,
    pub nameservers: Vec<Ipv4Address>,
}Expand description
Dynamic networking properties of a consomme endpoint.
Fields§
§net_mask: Ipv4AddressCurrent IPv4 network mask.
gateway_ip: Ipv4AddressCurrent Ipv4 gateway address.
gateway_mac: EthernetAddressCurrent Ipv4 gateway MAC address.
client_ip: Ipv4AddressCurrent Ipv4 address assigned to endpoint.
client_mac: EthernetAddressCurrent client MAC address.
nameservers: Vec<Ipv4Address>Current list of DNS resolvers.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ConsommeParams
impl RefUnwindSafe for ConsommeParams
impl Send for ConsommeParams
impl Sync for ConsommeParams
impl Unpin for ConsommeParams
impl UnwindSafe for ConsommeParams
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