Enum resolv_conf::Network
source · pub enum Network {
V4(Ipv4Addr, Ipv4Addr),
V6(Ipv6Addr, Ipv6Addr),
}
Expand description
A network, that is an IP address and a mask
Variants§
V4(Ipv4Addr, Ipv4Addr)
Represent an IPv4 network address
V6(Ipv6Addr, Ipv6Addr)
Represent an IPv6 network address
Trait Implementations§
source§impl PartialEq<Network> for Network
impl PartialEq<Network> for Network
impl Eq for Network
impl StructuralEq for Network
impl StructuralPartialEq for Network
Auto Trait Implementations§
impl RefUnwindSafe for Network
impl Send for Network
impl Sync for Network
impl Unpin for Network
impl UnwindSafe for Network
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