Struct mhost::resolver::lookup::Lookups [−][src]
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?
fn into_iter(self) -> Self::IntoIter
[src]
impl Serialize for Lookups
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'a> Statistics<'a> for Lookups
[src]
type StatsOut = LookupsStats<'a>
fn statistics(&'a self) -> Self::StatsOut
[src]
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]
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[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,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,