Struct trust_dns_server::authority::AnyRecords
source · [−]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
sourceimpl 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
sourceimpl Debug for AnyRecords
impl Debug for AnyRecords
sourceimpl From<AnyRecords> for LookupRecords
impl From<AnyRecords> for LookupRecords
sourcefn from(rrset_records: AnyRecords) -> Self
fn from(rrset_records: AnyRecords) -> Self
Performs the conversion.
sourceimpl<'r> IntoIterator for &'r AnyRecords
impl<'r> IntoIterator for &'r AnyRecords
Auto Trait Implementations
impl RefUnwindSafe for AnyRecords
impl Send for AnyRecords
impl Sync for AnyRecords
impl Unpin for AnyRecords
impl UnwindSafe for AnyRecords
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more