[−][src]Enum domain_core::rdata::MasterRecordData
Variants
A(A)
Cname(Cname<N>)
Hinfo(Hinfo)
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)
Wks(Wks)
Srv(Srv<N>)
Aaaa(Aaaa)
Dnskey(Dnskey)
Rrsig(Rrsig)
Nsec(Nsec)
Ds(Ds)
Nsec3(Nsec3)
Nsec3param(Nsec3param)
Other(UnknownRecordData)
Methods
impl<N: Scan> MasterRecordData<N>
[src]
pub fn scan<C>(
rtype: Rtype,
scanner: &mut Scanner<C>
) -> Result<Self, ScanError> where
C: CharSource,
[src]
rtype: Rtype,
scanner: &mut Scanner<C>
) -> Result<Self, ScanError> where
C: CharSource,
Trait Implementations
impl<N> Compose for MasterRecordData<N> where
N: Compose,
[src]
N: Compose,
impl<N> Compress for MasterRecordData<N> where
N: Compress,
[src]
N: Compress,
impl<N> RecordData for MasterRecordData<N> where
N: Compose + Compress,
[src]
N: Compose + Compress,
impl ParseRecordData for MasterRecordData<ParsedDname>
[src]
type Err = MasterDataParseError
The type of an error returned when parsing fails.
fn parse_data(
rtype: Rtype,
parser: &mut Parser,
rdlen: usize
) -> Result<Option<Self>, Self::Err>
[src]
rtype: Rtype,
parser: &mut Parser,
rdlen: usize
) -> Result<Option<Self>, Self::Err>
impl<N> From<A> for MasterRecordData<N>
[src]
impl<N> From<Cname<N>> for MasterRecordData<N>
[src]
impl<N> From<Hinfo> for MasterRecordData<N>
[src]
impl<N> From<Mb<N>> for MasterRecordData<N>
[src]
impl<N> From<Md<N>> for MasterRecordData<N>
[src]
impl<N> From<Mf<N>> for MasterRecordData<N>
[src]
impl<N> From<Minfo<N>> for MasterRecordData<N>
[src]
impl<N> From<Mr<N>> for MasterRecordData<N>
[src]
impl<N> From<Mx<N>> for MasterRecordData<N>
[src]
impl<N> From<Ns<N>> for MasterRecordData<N>
[src]
impl<N> From<Ptr<N>> for MasterRecordData<N>
[src]
impl<N> From<Soa<N>> for MasterRecordData<N>
[src]
impl<N> From<Txt> for MasterRecordData<N>
[src]
impl<N> From<Wks> for MasterRecordData<N>
[src]
impl<N> From<Srv<N>> for MasterRecordData<N>
[src]
impl<N> From<Aaaa> for MasterRecordData<N>
[src]
impl<N> From<Dnskey> for MasterRecordData<N>
[src]
impl<N> From<Rrsig> for MasterRecordData<N>
[src]
impl<N> From<Nsec> for MasterRecordData<N>
[src]
impl<N> From<Ds> for MasterRecordData<N>
[src]
impl<N> From<Nsec3> for MasterRecordData<N>
[src]
impl<N> From<Nsec3param> for MasterRecordData<N>
[src]
fn from(value: Nsec3param) -> Self
[src]
impl<N> From<UnknownRecordData> for MasterRecordData<N>
[src]
fn from(value: UnknownRecordData) -> Self
[src]
impl<N> PartialEq<MasterRecordData<N>> for MasterRecordData<N> where
N: PartialEq,
[src]
N: PartialEq,
fn eq(&self, other: &Self) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=
.
impl<N> Eq for MasterRecordData<N> where
N: PartialEq,
[src]
N: PartialEq,
impl<N: Clone> Clone for MasterRecordData<N>
[src]
fn clone(&self) -> MasterRecordData<N>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<N: Debug> Debug for MasterRecordData<N>
[src]
impl<N> Display for MasterRecordData<N> where
N: Display,
[src]
N: Display,
impl<N> Hash for MasterRecordData<N> where
N: Hash,
[src]
N: Hash,
Auto Trait Implementations
impl<N> Send for MasterRecordData<N> where
N: Send,
N: Send,
impl<N> Sync for MasterRecordData<N> where
N: Sync,
N: Sync,
Blanket Implementations
impl<T> RecordData for T where
T: Compose + Compress + RtypeRecordData,
[src]
T: Compose + Compress + RtypeRecordData,
impl<T> ParseRecordData for T where
T: Compose + Compress + ParseAll + RtypeRecordData,
[src]
T: Compose + Compress + ParseAll + RtypeRecordData,
type Err = <T as ParseAll>::Err
The type of an error returned when parsing fails.
fn parse_data(
Rtype,
&mut Parser,
usize
) -> Result<Option<T>, <T as ParseRecordData>::Err>
[src]
Rtype,
&mut Parser,
usize
) -> Result<Option<T>, <T as ParseRecordData>::Err>
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,