Enum nex_socket::IpVersion
source · pub enum IpVersion {
V4,
V6,
}
Expand description
IP version. IPv4 or IPv6.
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IpVersion
impl RefUnwindSafe for IpVersion
impl Send for IpVersion
impl Sync for IpVersion
impl Unpin for IpVersion
impl UnwindSafe for IpVersion
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