pub enum AddrType {
IPv4,
IPv6,
Either,
}Expand description
This is the host address type to be returned by gethostbyname.
An IPv4 address type always looks for A records, while IPv6 address type
will look for AAAA records
Result is either a A record, or a AAAA record
Formats the value using the given formatter. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.
impl<T> Any for T where
T: 'static + ?Sized, [src]
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>, [src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.