Struct c_ares::SOAResult

source ·
pub struct SOAResult { /* private fields */ }
Expand description

The result of a successful SOA lookup.

Implementations

Obtain an SOAResult from the response to an SOA lookup.

Returns the name server from this SOAResult.

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 hostmaster from this SOAResult.

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 serial number from this SOAResult.

Returns the refresh time from this SOAResult.

Returns the retry time from this SOAResult.

Returns the expire time from this SOAResult.

Returns the minimum time-to-live from this SOAResult.

Trait Implementations

Formats the value using the given formatter. Read more
Formats the value using the given formatter. Read more
Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Converts the given value to a String. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.