Struct mhost::resolver::lookup::Lookups[][src]

pub struct Lookups { /* fields omitted */ }

Implementations

impl Lookups[src]

pub fn new(inner: Vec<Lookup>) -> Lookups[src]

pub fn empty() -> Lookups[src]

pub fn len(&self) -> usize[src]

pub fn is_empty(&self) -> bool[src]

pub fn iter(&self) -> Iter<'_, Lookup>[src]

pub fn has_records(&self) -> bool[src]

pub fn responses(&self) -> Vec<&Response>[src]

pub fn records(&self) -> Vec<&Record>[src]

pub fn ips(&self) -> Vec<IpAddr>[src]

pub fn a(&self) -> Vec<&Ipv4Addr>[src]

pub fn aaaa(&self) -> Vec<&Ipv6Addr>[src]

pub fn aname(&self) -> Vec<&Name>[src]

pub fn cname(&self) -> Vec<&Name>[src]

pub fn mx(&self) -> Vec<&MX>[src]

pub fn null(&self) -> Vec<&NULL>[src]

pub fn ns(&self) -> Vec<&Name>[src]

pub fn ptr(&self) -> Vec<&Name>[src]

pub fn soa(&self) -> Vec<&SOA>[src]

pub fn srv(&self) -> Vec<&SRV>[src]

pub fn txt(&self) -> Vec<&TXT>[src]

pub fn unknown(&self) -> Vec<&UNKNOWN>[src]

pub fn records_by_type(&self, record_type: RecordType) -> Vec<&Record>[src]

pub fn rr_a(&self) -> Vec<&Record>[src]

pub fn rr_aaaa(&self) -> Vec<&Record>[src]

pub fn rr_aname(&self) -> Vec<&Record>[src]

pub fn rr_cname(&self) -> Vec<&Record>[src]

pub fn rr_mx(&self) -> Vec<&Record>[src]

pub fn rr_null(&self) -> Vec<&Record>[src]

pub fn rr_ns(&self) -> Vec<&Record>[src]

pub fn rr_ptr(&self) -> Vec<&Record>[src]

pub fn rr_soa(&self) -> Vec<&Record>[src]

pub fn rr_srv(&self) -> Vec<&Record>[src]

pub fn rr_txt(&self) -> Vec<&Record>[src]

pub fn rr_unknown(&self) -> Vec<&Record>[src]

pub fn record_types(&self) -> HashSet<RecordType>[src]

pub fn merge(self, other: Self) -> Self[src]

Merge two Lookups into one * * This operation consumes both Lookups and creates a new one without cloning or copying the * contained Lookups.

pub fn combine<T: AsRef<Self>>(&self, other: T) -> Self[src]

Combine this Lookups with another one * * This operation does not alter this or other by taking the Lookup’s from both, cloning * them, and creating a new Lookups with the results.

Trait Implementations

impl AsRef<Lookups> for Lookups[src]

impl Clone for Lookups[src]

impl Debug for Lookups[src]

impl Errors for Lookups[src]

impl From<Vec<Lookup, Global>> for Lookups[src]

impl IntoIterator for Lookups[src]

type Item = Lookup

The type of the elements being iterated over.

type IntoIter = IntoIter<Self::Item>

Which kind of iterator are we turning this into?

impl Serialize for Lookups[src]

impl<'a> Statistics<'a> for Lookups[src]

type StatsOut = LookupsStats<'a>

impl SummaryFormatter for Lookups[src]

Auto Trait Implementations

impl RefUnwindSafe for Lookups

impl Send for Lookups

impl Sync for Lookups

impl Unpin for Lookups

impl UnwindSafe for Lookups

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]