pub struct IPInfo {
pub ip: Ipv4Addr,
pub netmask: Ipv4Addr,
pub gateway: Ipv4Addr,
}Expand description
Describes layer 3 (IP) configuration.
Fields§
§ip: Ipv4Addr§netmask: Ipv4Addr§gateway: Ipv4AddrTrait Implementations§
Auto Trait Implementations§
impl Freeze for IPInfo
impl RefUnwindSafe for IPInfo
impl Send for IPInfo
impl Sync for IPInfo
impl Unpin for IPInfo
impl UnwindSafe for IPInfo
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