Struct c_ares::NameInfoResult[][src]

pub struct NameInfoResult<'a> { /* fields omitted */ }

The result of a successful name-info lookup.

Methods

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

Returns the node from this NameInfoResult.

In practice this is very likely to be a valid UTF-8 string, but the underlying c-ares library does not guarantee this - so we leave it to users to decide whether they prefer a fallible conversion, a lossy conversion, or something else altogether.

Returns the service from this NameInfoResult.

In practice this is very likely to be a valid UTF-8 string, but the underlying c-ares library does not guarantee this - so we leave it to users to decide whether they prefer a fallible conversion, a lossy conversion, or something else altogether.

Trait Implementations

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

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

Formats the value using the given formatter. Read more

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

Formats the value using the given formatter. Read more

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

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