pub enum IpType {
All,
V4,
V6,
}Expand description
The IP versions IP accepts: IP::ALL, IP::V4 or IP::V6.
Variants§
Implementations§
Trait Implementations§
impl Copy for IpType
impl Eq for IpType
impl StructuralPartialEq for IpType
Auto Trait Implementations§
impl Forget for IpType
impl Freeze for IpType
impl Move for IpType
impl RefUnwindSafe for IpType
impl Send for IpType
impl Sync for IpType
impl Unpin for IpType
impl UnsafeUnpin for IpType
impl UnwindSafe for IpType
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.