pub trait LookupObject: Send {
    fn is_empty(&self) -> bool;
fn iter<'a>(&'a self) -> Box<dyn Iterator<Item = &'a Record> + Send + 'a>;
fn take_additionals(&mut self) -> Option<Box<dyn LookupObject>>; }
Expand description

An Object Safe Lookup for Authority

Required methods

Returns true if either the associated Records are empty, or this is a NameExists or NxDomain

Conversion to an iterator

For CNAME and similar records, this is an additional set of lookup records

it is acceptable for this to return None after the first call.

Implementors