Struct c_ares::SRVResult
[−]
[src]
pub struct SRVResult<'a> { /* fields omitted */ }
The contents of a single SRV record.
Methods
impl<'a> SRVResult<'a>
[src]
fn host(&self) -> &str
[src]
Returns the hostname in this SRVResult
.
fn weight(&self) -> u16
[src]
Returns the weight in this SRVResult
.
fn priority(&self) -> u16
[src]
Returns the priority in this SRVResult
.
fn port(&self) -> u16
[src]
Returns the port in this SRVResult
.
Trait Implementations
impl<'a> Clone for SRVResult<'a>
[src]
fn clone(&self) -> SRVResult<'a>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more