[−][src]Struct async_std_resolver::lookup::NsLookup
Contains the results of a lookup for the associated RecordType
Methods
impl NsLookup
[src][−]
pub fn iter(&self) -> NsLookupIter
[src][−]
Returns an iterator over the RData
pub fn query(&self) -> &Query
[src][−]
Returns a reference to the Query that was used to produce this result.
pub fn valid_until(&self) -> Instant
[src][−]
Returns the Instant
at which this result is no longer valid.
pub fn as_lookup(&self) -> &Lookup
[src][−]
Return a reference to the inner lookup
This can be useful for getting all records from the request
Trait Implementations
impl Clone for NsLookup
[src][+]
impl Debug for NsLookup
[src][+]
impl From<Lookup> for NsLookup
[src][+]
impl IntoIterator for NsLookup
[src][+]
Auto Trait Implementations
impl RefUnwindSafe for NsLookup
impl Send for NsLookup
impl Sync for NsLookup
impl Unpin for NsLookup
impl UnwindSafe for NsLookup
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<I> IntoIterator for I where
I: Iterator,
[src][+]
I: Iterator,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[+]
V: MultiLane<T>,