[][src]Struct c_ares_resolver::NameInfoResult

pub struct NameInfoResult {
    pub node: Option<CString>,
    pub service: Option<CString>,
}

An owned version of c_ares::NameInfoResult.

Fields

node: Option<CString>

The node returned by the lookup.

service: Option<CString>

The service returned by the lookup.

Trait Implementations

impl Clone for NameInfoResult[src]

impl Debug for NameInfoResult[src]

impl Eq for NameInfoResult[src]

impl<'a> From<NameInfoResult<'a>> for NameInfoResult[src]

impl Hash for NameInfoResult[src]

impl Ord for NameInfoResult[src]

impl PartialEq<NameInfoResult> for NameInfoResult[src]

impl PartialOrd<NameInfoResult> for NameInfoResult[src]

impl StructuralEq for NameInfoResult[src]

impl StructuralPartialEq for NameInfoResult[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, 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.