Struct trust_dns_resolver::lookup::Ipv4Lookup [−][src]
pub struct Ipv4Lookup(_);
Expand description
Contains the results of a lookup for the associated RecordType
Implementations
pub fn iter(&self) -> Ipv4LookupIter<'_>ⓘNotable traits for Ipv4LookupIter<'i>impl<'i> Iterator for Ipv4LookupIter<'i> type Item = &'i Ipv4Addr;
pub fn iter(&self) -> Ipv4LookupIter<'_>ⓘNotable traits for Ipv4LookupIter<'i>impl<'i> Iterator for Ipv4LookupIter<'i> type Item = &'i Ipv4Addr;
Notable traits for Ipv4LookupIter<'i>
impl<'i> Iterator for Ipv4LookupIter<'i> type Item = &'i Ipv4Addr;
Returns an iterator over the RData
Returns a reference to the Query that was used to produce this result.
Returns the Instant
at which this result is no longer valid.
Trait Implementations
This is most likely not a free conversion, the RDatas will be cloned if data is held behind an Arc with more than one reference (which is most likely the case coming from cache)
type IntoIter = Ipv4LookupIntoIter
type IntoIter = Ipv4LookupIntoIter
Which kind of iterator are we turning this into?
Auto Trait Implementations
impl RefUnwindSafe for Ipv4Lookup
impl Send for Ipv4Lookup
impl Sync for Ipv4Lookup
impl Unpin for Ipv4Lookup
impl UnwindSafe for Ipv4Lookup
Blanket Implementations
Mutably borrows from an owned value. Read more