Struct c_ares::SOAResult
[−]
[src]
pub struct SOAResult { // some fields omitted }
The result of a successful SOA lookup.
Methods
impl SOAResult
[src]
fn parse_from(data: &[u8]) -> Result<SOAResult, AresError>
Obtain an SOAResult
from the response to a CNAME lookup.
fn name_server(&self) -> &str
Returns the name server from this SOAResult
.
fn hostmaster(&self) -> &str
Returns the hostmaster from this SOAResult
.
fn serial(&self) -> u32
Returns the serial number from this SOAResult
.
fn refresh(&self) -> u32
Returns the refresh time from this SOAResult
.
fn retry(&self) -> u32
Returns the retry time from this SOAResult
.
fn expire(&self) -> u32
Returns the expire time from this SOAResult
.
fn min_ttl(&self) -> u32
Returns the minimum time-to-live from this SOAResult
.