pub enum ResolvedHostnameFamily {
Ipv4,
Ipv6,
}Expand description
Address family for resolved hostname entries.
Variants§
Trait Implementations§
Source§impl Clone for ResolvedHostnameFamily
impl Clone for ResolvedHostnameFamily
Source§fn clone(&self) -> ResolvedHostnameFamily
fn clone(&self) -> ResolvedHostnameFamily
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResolvedHostnameFamily
impl Debug for ResolvedHostnameFamily
Source§impl Hash for ResolvedHostnameFamily
impl Hash for ResolvedHostnameFamily
Source§impl Ord for ResolvedHostnameFamily
impl Ord for ResolvedHostnameFamily
Source§fn cmp(&self, other: &ResolvedHostnameFamily) -> Ordering
fn cmp(&self, other: &ResolvedHostnameFamily) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ResolvedHostnameFamily
impl PartialEq for ResolvedHostnameFamily
Source§impl PartialOrd for ResolvedHostnameFamily
impl PartialOrd for ResolvedHostnameFamily
impl Copy for ResolvedHostnameFamily
impl Eq for ResolvedHostnameFamily
impl StructuralPartialEq for ResolvedHostnameFamily
Auto Trait Implementations§
impl Freeze for ResolvedHostnameFamily
impl RefUnwindSafe for ResolvedHostnameFamily
impl Send for ResolvedHostnameFamily
impl Sync for ResolvedHostnameFamily
impl Unpin for ResolvedHostnameFamily
impl UnsafeUnpin for ResolvedHostnameFamily
impl UnwindSafe for ResolvedHostnameFamily
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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> Comparable<K> for Q
impl<Q, K> Comparable<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.