Struct default_net::gateway::Gateway
source · pub struct Gateway {
pub mac_addr: MacAddr,
pub ip_addr: IpAddr,
}
Expand description
Structure of default Gateway information
Fields§
§mac_addr: MacAddr
MAC address of Gateway
ip_addr: IpAddr
IP address of Gateway
Implementations§
Trait Implementations§
source§impl PartialEq for Gateway
impl PartialEq for Gateway
impl Eq for Gateway
impl StructuralPartialEq for Gateway
Auto Trait Implementations§
impl RefUnwindSafe for Gateway
impl Send for Gateway
impl Sync for Gateway
impl Unpin for Gateway
impl UnwindSafe for Gateway
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