Enum domain::rdata::MasterRecordData [−][src]
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>)
Other(UnknownRecordData<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]
O: AsRef<[u8]>,
OO: AsRef<[u8]>,
N: CanonicalOrd<NN> + ToDname,
NN: ToDname,
fn canonical_cmp(&self, other: &MasterRecordData<OO, NN>) -> Ordering
[src]
#[must_use]fn canonical_lt(&self, other: &Rhs) -> bool
[src]
#[must_use]fn canonical_le(&self, other: &Rhs) -> bool
[src]
#[must_use]fn canonical_gt(&self, other: &Rhs) -> bool
[src]
#[must_use]fn canonical_ge(&self, other: &Rhs) -> bool
[src]
impl<O: Clone, N: Clone> Clone for MasterRecordData<O, N>
[src]
fn clone(&self) -> MasterRecordData<O, N>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<O, N> Compose for MasterRecordData<O, N> where
O: AsRef<[u8]>,
N: ToDname,
[src]
O: AsRef<[u8]>,
N: ToDname,
fn compose<T: OctetsBuilder>(&self, target: &mut T) -> Result<(), ShortBuf>
[src]
fn compose_canonical<T: OctetsBuilder>(
&self,
target: &mut T
) -> Result<(), ShortBuf>
[src]
&self,
target: &mut T
) -> Result<(), ShortBuf>
impl<O, N> Debug for MasterRecordData<O, N> where
O: AsRef<[u8]>,
N: Debug,
[src]
O: AsRef<[u8]>,
N: Debug,
impl<O, N> Display for MasterRecordData<O, N> where
O: AsRef<[u8]>,
N: Display,
[src]
O: AsRef<[u8]>,
N: Display,
impl<O, N> Eq for MasterRecordData<O, N> where
O: AsRef<[u8]>,
N: ToDname,
[src]
O: AsRef<[u8]>,
N: ToDname,
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]
fn from(value: Nsec3param<O>) -> Self
[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]
fn from(value: UnknownRecordData<O>) -> Self
[src]
impl<O, N> Hash for MasterRecordData<O, N> where
O: AsRef<[u8]>,
N: Hash,
[src]
O: AsRef<[u8]>,
N: Hash,
fn hash<H: Hasher>(&self, state: &mut H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<Octets, SrcOctets, Name, SrcName> OctetsFrom<MasterRecordData<SrcOctets, SrcName>> for MasterRecordData<Octets, Name> where
Octets: OctetsFrom<SrcOctets>,
Name: OctetsFrom<SrcName>,
[src]
Octets: OctetsFrom<SrcOctets>,
Name: OctetsFrom<SrcName>,
fn octets_from(
source: MasterRecordData<SrcOctets, SrcName>
) -> Result<Self, ShortBuf>
[src]
source: MasterRecordData<SrcOctets, SrcName>
) -> Result<Self, ShortBuf>
impl<Ref: OctetsRef> ParseRecordData<Ref> for MasterRecordData<Ref::Range, ParsedDname<Ref>>
[src]
fn parse_data(
rtype: Rtype,
parser: &mut Parser<Ref>
) -> Result<Option<Self>, ParseError>
[src]
rtype: Rtype,
parser: &mut Parser<Ref>
) -> Result<Option<Self>, ParseError>
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]
O: AsRef<[u8]>,
OO: AsRef<[u8]>,
N: ToDname,
NN: ToDname,
fn eq(&self, other: &MasterRecordData<OO, NN>) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[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]
O: AsRef<[u8]>,
OO: AsRef<[u8]>,
N: ToDname,
NN: ToDname,
fn partial_cmp(&self, other: &MasterRecordData<OO, NN>) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'a, O, N> RecordData for &'a MasterRecordData<O, N> where
O: AsRef<[u8]>,
N: ToDname,
[src]
O: AsRef<[u8]>,
N: ToDname,
impl<O, N> RecordData for MasterRecordData<O, N> where
O: AsRef<[u8]>,
N: ToDname,
[src]
O: AsRef<[u8]>,
N: ToDname,
Auto Trait Implementations
impl<O, N> RefUnwindSafe for MasterRecordData<O, N> where
N: RefUnwindSafe,
O: RefUnwindSafe,
N: RefUnwindSafe,
O: RefUnwindSafe,
impl<O, N> Send for MasterRecordData<O, N> where
N: Send,
O: Send,
N: Send,
O: Send,
impl<O, N> Sync for MasterRecordData<O, N> where
N: Sync,
O: Sync,
N: Sync,
O: Sync,
impl<O, N> Unpin for MasterRecordData<O, N> where
N: Unpin,
O: Unpin,
N: Unpin,
O: Unpin,
impl<O, N> UnwindSafe for MasterRecordData<O, N> where
N: UnwindSafe,
O: UnwindSafe,
N: UnwindSafe,
O: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<Source, Target> OctetsInto<Target> for Source where
Target: OctetsFrom<Source>,
[src]
Target: OctetsFrom<Source>,
pub fn octets_into(Self) -> Result<Target, ShortBuf>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,