[−][src]Struct domain_core::rdata::rfc4034::Ds
Methods
impl Ds
[src]
pub fn new(
key_tag: u16,
algorithm: SecAlg,
digest_type: DigestAlg,
digest: Bytes
) -> Self
[src]
key_tag: u16,
algorithm: SecAlg,
digest_type: DigestAlg,
digest: Bytes
) -> Self
pub fn key_tag(&self) -> u16
[src]
pub fn algorithm(&self) -> SecAlg
[src]
pub fn digest_type(&self) -> DigestAlg
[src]
pub fn digest(&self) -> &Bytes
[src]
Trait Implementations
impl Compose for Ds
[src]
impl Compress for Ds
[src]
impl ParseAll for Ds
[src]
type Err = ShortBuf
The type returned when parsing fails.
fn parse_all(parser: &mut Parser, len: usize) -> Result<Self, Self::Err>
[src]
impl RtypeRecordData for Ds
[src]
impl Scan for Ds
[src]
impl<N> From<Ds> for MasterRecordData<N>
[src]
impl<N> From<Ds> for AllRecordData<N>
[src]
impl PartialEq<Ds> for Ds
[src]
impl PartialOrd<Ds> for Ds
[src]
fn partial_cmp(&self, other: &Ds) -> Option<Ordering>
[src]
fn lt(&self, other: &Ds) -> bool
[src]
fn le(&self, other: &Ds) -> bool
[src]
fn gt(&self, other: &Ds) -> bool
[src]
fn ge(&self, other: &Ds) -> bool
[src]
impl Eq for Ds
[src]
impl Ord for Ds
[src]
fn cmp(&self, other: &Ds) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
Compares and returns the minimum of two values. Read more
impl Clone for Ds
[src]
fn clone(&self) -> Ds
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Ds
[src]
impl Display for Ds
[src]
impl Hash for Ds
[src]
Auto Trait Implementations
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>,