Struct c_ares::SRVResult
[−]
[src]
pub struct SRVResult<'a> { // some fields omitted }
The contents of a single SRV record.
Methods
impl<'a> SRVResult<'a>
[src]
fn host(&self) -> &str
Returns the hostname in this SRVResult
.
fn weight(&self) -> u16
Returns the weight in this SRVResult
.
fn priority(&self) -> u16
Returns the priority in this SRVResult
.
fn port(&self) -> u16
Returns the port in this SRVResult
.