pub struct AnyRecords { /* private fields */ }Expand description
An iterator over an ANY query for Records.
The length of this result cannot be known without consuming the iterator.
§Lifetimes
'r- the record_set’s lifetime, from the catalog'q- the lifetime of the query/request
Implementations§
Source§impl AnyRecords
impl AnyRecords
Sourcepub fn new(
lookup_options: LookupOptions,
rrsets: Vec<Arc<RecordSet>>,
query_type: RecordType,
query_name: LowerName,
) -> Self
pub fn new( lookup_options: LookupOptions, rrsets: Vec<Arc<RecordSet>>, query_type: RecordType, query_name: LowerName, ) -> Self
construct a new lookup of any set of records
Trait Implementations§
Source§impl Debug for AnyRecords
impl Debug for AnyRecords
Source§impl From<AnyRecords> for LookupRecords
impl From<AnyRecords> for LookupRecords
Source§fn from(rrset_records: AnyRecords) -> Self
fn from(rrset_records: AnyRecords) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AnyRecords
impl RefUnwindSafe for AnyRecords
impl Send for AnyRecords
impl Sync for AnyRecords
impl Unpin for AnyRecords
impl UnwindSafe for AnyRecords
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