pub enum IpAddrClass {
Ipv4,
Ipv6,
}Expand description
Classifies an IP address as IPv4 or IPv6
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IpAddrClass
impl RefUnwindSafe for IpAddrClass
impl Send for IpAddrClass
impl Sync for IpAddrClass
impl Unpin for IpAddrClass
impl UnsafeUnpin for IpAddrClass
impl UnwindSafe for IpAddrClass
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