pub struct Lookups { /* private fields */ }
Implementations§
source§impl Lookups
impl Lookups
pub fn new(inner: Vec<Lookup>) -> Lookups
pub fn empty() -> Lookups
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn iter(&self) -> Iter<'_, Lookup>
pub fn has_records(&self) -> bool
pub fn responses(&self) -> Vec<&Response>
pub fn records(&self) -> Vec<&Record>
pub fn ips(&self) -> Vec<IpAddr>
pub fn a(&self) -> Vec<&Ipv4Addr>
pub fn aaaa(&self) -> Vec<&Ipv6Addr>
pub fn aname(&self) -> Vec<&Name>
pub fn cname(&self) -> Vec<&Name>
pub fn mx(&self) -> Vec<&MX>
pub fn null(&self) -> Vec<&NULL>
pub fn ns(&self) -> Vec<&Name>
pub fn ptr(&self) -> Vec<&Name>
pub fn soa(&self) -> Vec<&SOA>
pub fn srv(&self) -> Vec<&SRV>
pub fn txt(&self) -> Vec<&TXT>
pub fn unknown(&self) -> Vec<&UNKNOWN>
pub fn records_by_type(&self, record_type: RecordType) -> Vec<&Record>
pub fn rr_a(&self) -> Vec<&Record>
pub fn rr_aaaa(&self) -> Vec<&Record>
pub fn rr_aname(&self) -> Vec<&Record>
pub fn rr_cname(&self) -> Vec<&Record>
pub fn rr_mx(&self) -> Vec<&Record>
pub fn rr_null(&self) -> Vec<&Record>
pub fn rr_ns(&self) -> Vec<&Record>
pub fn rr_ptr(&self) -> Vec<&Record>
pub fn rr_soa(&self) -> Vec<&Record>
pub fn rr_srv(&self) -> Vec<&Record>
pub fn rr_txt(&self) -> Vec<&Record>
pub fn rr_unknown(&self) -> Vec<&Record>
pub fn record_types(&self) -> HashSet<RecordType>
Trait Implementations§
source§impl IntoIterator for Lookups
impl IntoIterator for Lookups
source§impl<'a> Statistics<'a> for Lookups
impl<'a> Statistics<'a> for Lookups
type StatsOut = LookupsStats<'a>
fn statistics(&'a self) -> Self::StatsOut
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more