Enum hyper_system_resolver::addr_info_hints::AddressFamily[][src]

pub enum AddressFamily {
    Unspec,
    Unix,
    Inet,
    Inet6,
    Custom(i32),
}

The address family to request when resolving the name.

Variants

Unspec

No preference.

Unix

Request UNIX-family address.

Inet

Request IPv4-family address.

Inet6

Request IPv6-family address.

Custom(i32)

Request custom address family.

Trait Implementations

impl Clone for AddressFamily[src]

impl Copy for AddressFamily[src]

impl Debug for AddressFamily[src]

impl Default for AddressFamily[src]

impl Eq for AddressFamily[src]

impl From<AddrFamily> for AddressFamily[src]

impl PartialEq<AddressFamily> for AddressFamily[src]

impl StructuralEq for AddressFamily[src]

impl StructuralPartialEq for AddressFamily[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.