pub struct EmptyLookup;Expand description
A lookup that returns no records
Trait Implementations§
Source§impl Clone for EmptyLookup
impl Clone for EmptyLookup
Source§fn clone(&self) -> EmptyLookup
fn clone(&self) -> EmptyLookup
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EmptyLookup
impl Debug for EmptyLookup
Source§impl LookupObject for EmptyLookup
impl LookupObject for EmptyLookup
Source§fn is_empty(&self) -> bool
fn is_empty(&self) -> bool
Returns true if either the associated Records are empty, or this is a NameExists or NxDomain
Source§fn iter<'a>(&'a self) -> Box<dyn Iterator<Item = &'a Record> + Send + 'a>
fn iter<'a>(&'a self) -> Box<dyn Iterator<Item = &'a Record> + Send + 'a>
Conversion to an iterator
Source§fn take_additionals(&mut self) -> Option<Box<dyn LookupObject>>
fn take_additionals(&mut self) -> Option<Box<dyn LookupObject>>
For CNAME and similar records, this is an additional set of lookup records Read more
Source§fn dnssec_summary(&self) -> DnssecSummary
fn dnssec_summary(&self) -> DnssecSummary
Available on crate feature
__dnssec only.Whether the records have been DNSSEC validated or not
impl Copy for EmptyLookup
Auto Trait Implementations§
impl Freeze for EmptyLookup
impl RefUnwindSafe for EmptyLookup
impl Send for EmptyLookup
impl Sync for EmptyLookup
impl Unpin for EmptyLookup
impl UnwindSafe for EmptyLookup
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