Struct async_std_resolver::lookup::TlsaLookup [−][src]
Contains the results of a lookup for the associated RecordType
Implementations
impl TlsaLookup
[src][−]
pub fn iter(&self) -> TlsaLookupIter<'_>ⓘNotable traits for TlsaLookupIter<'i>
impl<'i> Iterator for TlsaLookupIter<'i> type Item = &'i TLSA;
[src][−]
Notable traits for TlsaLookupIter<'i>
impl<'i> Iterator for TlsaLookupIter<'i> type Item = &'i TLSA;
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 TlsaLookup
[src][+]
impl Debug for TlsaLookup
[src][+]
impl From<Lookup> for TlsaLookup
[src][+]
impl IntoIterator for TlsaLookup
[src][+]
Auto Trait Implementations
impl RefUnwindSafe for TlsaLookup
impl Send for TlsaLookup
impl Sync for TlsaLookup
impl Unpin for TlsaLookup
impl UnwindSafe for TlsaLookup
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<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>,