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§
impl Eq for Gateway
impl StructuralPartialEq for Gateway
Auto Trait Implementations§
impl Freeze for Gateway
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