[][src]Enum domain::rdata::MasterRecordData

#[non_exhaustive]pub enum MasterRecordData<O, N> {
    A(A),
    Cname(Cname<N>),
    Hinfo(Hinfo<O>),
    Mb(Mb<N>),
    Md(Md<N>),
    Mf(Mf<N>),
    Minfo(Minfo<N>),
    Mr(Mr<N>),
    Mx(Mx<N>),
    Ns(Ns<N>),
    Ptr(Ptr<N>),
    Soa(Soa<N>),
    Txt(Txt<O>),
    Srv(Srv<N>),
    Aaaa(Aaaa),
    Dnskey(Dnskey<O>),
    Rrsig(Rrsig<O, N>),
    Nsec(Nsec<O, N>),
    Ds(Ds<O>),
    Dname(Dname<N>),
    Nsec3(Nsec3<O>),
    Nsec3param(Nsec3param<O>),
    Cdnskey(Cdnskey<O>),
    Cds(Cds<O>),
    Other(UnknownRecordData<O>),
}

Record data for all record types allowed in master files.

This enum collects the record data types for all currently implemented record types that are allowed to be included in master files.

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
A(A)
Cname(Cname<N>)
Hinfo(Hinfo<O>)
Mb(Mb<N>)
Md(Md<N>)
Mf(Mf<N>)
Minfo(Minfo<N>)
Mr(Mr<N>)
Mx(Mx<N>)
Ns(Ns<N>)
Ptr(Ptr<N>)
Soa(Soa<N>)
Txt(Txt<O>)
Srv(Srv<N>)
Aaaa(Aaaa)
Dnskey(Dnskey<O>)
Rrsig(Rrsig<O, N>)
Nsec(Nsec<O, N>)
Ds(Ds<O>)
Dname(Dname<N>)
Nsec3(Nsec3<O>)
Nsec3param(Nsec3param<O>)
Cdnskey(Cdnskey<O>)
Cds(Cds<O>)

Trait Implementations

impl<O, OO, N, NN> CanonicalOrd<MasterRecordData<OO, NN>> for MasterRecordData<O, N> where
    O: AsRef<[u8]>,
    OO: AsRef<[u8]>,
    N: CanonicalOrd<NN> + ToDname,
    NN: ToDname
[src]

impl<O: Clone, N: Clone> Clone for MasterRecordData<O, N>[src]

impl<O, N> Compose for MasterRecordData<O, N> where
    O: AsRef<[u8]>,
    N: ToDname
[src]

impl<O, N> Debug for MasterRecordData<O, N> where
    O: AsRef<[u8]>,
    N: Debug
[src]

impl<O, N> Display for MasterRecordData<O, N> where
    O: AsRef<[u8]>,
    N: Display
[src]

impl<O, N> Eq for MasterRecordData<O, N> where
    O: AsRef<[u8]>,
    N: ToDname
[src]

impl<O, N> From<A> for MasterRecordData<O, N>[src]

impl<O, N> From<Aaaa> for MasterRecordData<O, N>[src]

impl<O, N> From<Cdnskey<O>> for MasterRecordData<O, N>[src]

impl<O, N> From<Cds<O>> for MasterRecordData<O, N>[src]

impl<O, N> From<Cname<N>> for MasterRecordData<O, N>[src]

impl<O, N> From<Dname<N>> for MasterRecordData<O, N>[src]

impl<O, N> From<Dnskey<O>> for MasterRecordData<O, N>[src]

impl<O, N> From<Ds<O>> for MasterRecordData<O, N>[src]

impl<O, N> From<Hinfo<O>> for MasterRecordData<O, N>[src]

impl<O, N> From<Mb<N>> for MasterRecordData<O, N>[src]

impl<O, N> From<Md<N>> for MasterRecordData<O, N>[src]

impl<O, N> From<Mf<N>> for MasterRecordData<O, N>[src]

impl<O, N> From<Minfo<N>> for MasterRecordData<O, N>[src]

impl<O, N> From<Mr<N>> for MasterRecordData<O, N>[src]

impl<O, N> From<Mx<N>> for MasterRecordData<O, N>[src]

impl<O, N> From<Ns<N>> for MasterRecordData<O, N>[src]

impl<O, N> From<Nsec<O, N>> for MasterRecordData<O, N>[src]

impl<O, N> From<Nsec3<O>> for MasterRecordData<O, N>[src]

impl<O, N> From<Nsec3param<O>> for MasterRecordData<O, N>[src]

impl<O, N> From<Ptr<N>> for MasterRecordData<O, N>[src]

impl<O, N> From<Rrsig<O, N>> for MasterRecordData<O, N>[src]

impl<O, N> From<Soa<N>> for MasterRecordData<O, N>[src]

impl<O, N> From<Srv<N>> for MasterRecordData<O, N>[src]

impl<O, N> From<Txt<O>> for MasterRecordData<O, N>[src]

impl<O, N> From<UnknownRecordData<O>> for MasterRecordData<O, N>[src]

impl<O, N> Hash for MasterRecordData<O, N> where
    O: AsRef<[u8]>,
    N: Hash
[src]

impl<Ref: OctetsRef> ParseRecordData<Ref> for MasterRecordData<Ref::Range, ParsedDname<Ref>>[src]

impl<O, OO, N, NN> PartialEq<MasterRecordData<OO, NN>> for MasterRecordData<O, N> where
    O: AsRef<[u8]>,
    OO: AsRef<[u8]>,
    N: ToDname,
    NN: ToDname
[src]

impl<O, OO, N, NN> PartialOrd<MasterRecordData<OO, NN>> for MasterRecordData<O, N> where
    O: AsRef<[u8]>,
    OO: AsRef<[u8]>,
    N: ToDname,
    NN: ToDname
[src]

impl<O, N> RecordData for MasterRecordData<O, N> where
    O: AsRef<[u8]>,
    N: ToDname
[src]

Auto Trait Implementations

impl<O, N> RefUnwindSafe for MasterRecordData<O, N> where
    N: RefUnwindSafe,
    O: RefUnwindSafe

impl<O, N> Send for MasterRecordData<O, N> where
    N: Send,
    O: Send

impl<O, N> Sync for MasterRecordData<O, N> where
    N: Sync,
    O: Sync

impl<O, N> Unpin for MasterRecordData<O, N> where
    N: Unpin,
    O: Unpin

impl<O, N> UnwindSafe for MasterRecordData<O, N> where
    N: UnwindSafe,
    O: UnwindSafe

Blanket Implementations

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

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

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

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

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

impl<Octets, T> ParseRecordData<Octets> for T where
    T: RtypeRecordData + Parse<Octets> + Compose
[src]

impl<T> RecordData for T where
    T: Compose + RtypeRecordData
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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

type Error = Infallible

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<V, T> VZip<V> for T where
    V: MultiLane<T>,