Struct c_ares::SOAResult
[−]
[src]
pub struct SOAResult { /* fields omitted */ }
The result of a successful SOA lookup.
Methods
impl SOAResult
[src]
fn parse_from(data: &[u8]) -> Result<SOAResult>
[src]
Obtain an SOAResult
from the response to an SOA lookup.
fn name_server(&self) -> &str
[src]
Returns the name server from this SOAResult
.
fn hostmaster(&self) -> &str
[src]
Returns the hostmaster from this SOAResult
.
fn serial(&self) -> u32
[src]
Returns the serial number from this SOAResult
.
fn refresh(&self) -> u32
[src]
Returns the refresh time from this SOAResult
.
fn retry(&self) -> u32
[src]
Returns the retry time from this SOAResult
.
fn expire(&self) -> u32
[src]
Returns the expire time from this SOAResult
.
fn min_ttl(&self) -> u32
[src]
Returns the minimum time-to-live from this SOAResult
.
Trait Implementations
impl Debug for SOAResult
[src]
impl Display for SOAResult
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more