pub enum IpVersion {
V4,
V6,
}
Expand description
An IP protocol version.
Variants§
Implementations§
Trait Implementations§
Source§impl Ord for IpVersion
impl Ord for IpVersion
Source§impl PartialOrd for IpVersion
impl PartialOrd for IpVersion
impl Copy for IpVersion
impl Eq for IpVersion
impl StructuralPartialEq for IpVersion
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)