Enum netwatch::interfaces::IpNet
source · pub enum IpNet {
V4(Ipv4Net),
V6(Ipv6Net),
}Expand description
Structure of an IP network, either IPv4 or IPv6.
Variants§
Implementations§
Trait Implementations§
source§impl PartialEq for IpNet
impl PartialEq for IpNet
impl Eq for IpNet
Auto Trait Implementations§
impl Freeze for IpNet
impl RefUnwindSafe for IpNet
impl Send for IpNet
impl Sync for IpNet
impl Unpin for IpNet
impl UnwindSafe for IpNet
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