pub struct Ipv4Status {
pub address: Option<Ipv4Addr>,
pub peer_address: Option<Ipv4Addr>,
pub dns_servers: [Option<Ipv4Addr>; 2],
}
Expand description
Status of the IPv4 connection.
Fields§
§address: Option<Ipv4Addr>
Our adress
peer_address: Option<Ipv4Addr>
The peer’s address
dns_servers: [Option<Ipv4Addr>; 2]
DNS servers provided by the peer.
Trait Implementations§
Source§impl Debug for Ipv4Status
impl Debug for Ipv4Status
Auto Trait Implementations§
impl Freeze for Ipv4Status
impl RefUnwindSafe for Ipv4Status
impl Send for Ipv4Status
impl Sync for Ipv4Status
impl Unpin for Ipv4Status
impl UnwindSafe for Ipv4Status
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