Struct trust_dns_resolver::lookup::SrvLookup [−][src]
pub struct SrvLookup(_);
The result of an SRV lookup
Methods
impl SrvLookup[src]
impl SrvLookupⓘImportant traits for SrvLookupIter<'i>pub fn iter(&self) -> SrvLookupIter[src]
ⓘImportant traits for SrvLookupIter<'i>
pub fn iter(&self) -> SrvLookupIterReturns an iterator over the SRV RData
ⓘImportant traits for LookupIpIter<'i>pub fn ip_iter(&self) -> LookupIpIter[src]
ⓘImportant traits for LookupIpIter<'i>
pub fn ip_iter(&self) -> LookupIpIterReturns the list of IPs associated with the SRV record.
Note: the lack of any IPs does not necessarily meant that there are no IPs available for the service, only that they were not included in the original request. A subsequent query for the IPs via the srv.target() should resolve to the IPs.
Trait Implementations
impl Debug for SrvLookup[src]
impl Debug for SrvLookupfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for SrvLookup[src]
impl Clone for SrvLookupfn clone(&self) -> SrvLookup[src]
fn clone(&self) -> SrvLookupReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl From<Lookup> for SrvLookup[src]
impl From<Lookup> for SrvLookup