[][src]Enum trust_dns_proto::rr::RrsetRecords

pub enum RrsetRecords<'r> {
    Empty,
    RecordsOnly(Iter<'r, Record>),
}

An iterator over the RecordSet data

Variants

Empty

There are no records in the record set

RecordsOnly(Iter<'r, Record>)

The records associated with the record set

Methods

impl<'r> RrsetRecords<'r>[src]

pub fn is_empty(&self) -> bool[src]

This is a best effort emptyness check

Trait Implementations

impl<'r> Iterator for RrsetRecords<'r>[src]

type Item = &'r Record

The type of the elements being iterated over.

impl<'r> Debug for RrsetRecords<'r>[src]

Auto Trait Implementations

impl<'r> Send for RrsetRecords<'r>

impl<'r> Sync for RrsetRecords<'r>

impl<'r> Unpin for RrsetRecords<'r>

impl<'r> UnwindSafe for RrsetRecords<'r>

impl<'r> RefUnwindSafe for RrsetRecords<'r>

Blanket Implementations

impl<'e, I, E> EmitAndCount for I where
    E: 'e + BinEncodable,
    I: Iterator<Item = &'e E>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<I> IteratorRandom for I where
    I: Iterator
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,