Struct domain::rdata::rfc4034::Ds[][src]

pub struct Ds<Octets> { /* fields omitted */ }

Implementations

impl<Octets> Ds<Octets>[src]

pub fn new(
    key_tag: u16,
    algorithm: SecAlg,
    digest_type: DigestAlg,
    digest: Octets
) -> Self
[src]

pub fn key_tag(&self) -> u16[src]

pub fn algorithm(&self) -> SecAlg[src]

pub fn digest_type(&self) -> DigestAlg[src]

pub fn digest(&self) -> &Octets[src]

pub fn into_digest(self) -> Octets[src]

Trait Implementations

impl<Octets, Other> CanonicalOrd<Ds<Other>> for Ds<Octets> where
    Octets: AsRef<[u8]>,
    Other: AsRef<[u8]>, 
[src]

impl<Octets: Clone> Clone for Ds<Octets>[src]

impl<Octets: AsRef<[u8]>> Compose for Ds<Octets>[src]

impl<Octets: AsRef<[u8]>> Debug for Ds<Octets>[src]

impl<Octets: AsRef<[u8]>> Display for Ds<Octets>[src]

impl<Octets: AsRef<[u8]>> Eq for Ds<Octets>[src]

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

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

impl<Octets: AsRef<[u8]>> Hash for Ds<Octets>[src]

impl<Octets, SrcOctets> OctetsFrom<Ds<SrcOctets>> for Ds<Octets> where
    Octets: OctetsFrom<SrcOctets>, 
[src]

impl<Octets: AsRef<[u8]>> Ord for Ds<Octets>[src]

impl<Ref: OctetsRef> Parse<Ref> for Ds<Ref::Range>[src]

impl<Octets, Other> PartialEq<Ds<Other>> for Ds<Octets> where
    Octets: AsRef<[u8]>,
    Other: AsRef<[u8]>, 
[src]

impl<Octets, Other> PartialOrd<Ds<Other>> for Ds<Octets> where
    Octets: AsRef<[u8]>,
    Other: AsRef<[u8]>, 
[src]

impl<Octets> RtypeRecordData for Ds<Octets>[src]

impl Scan for Ds<Bytes>[src]

Auto Trait Implementations

impl<Octets> RefUnwindSafe for Ds<Octets> where
    Octets: RefUnwindSafe

impl<Octets> Send for Ds<Octets> where
    Octets: Send

impl<Octets> Sync for Ds<Octets> where
    Octets: Sync

impl<Octets> Unpin for Ds<Octets> where
    Octets: Unpin

impl<Octets> UnwindSafe for Ds<Octets> where
    Octets: 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<Source, Target> OctetsInto<Target> for Source where
    Target: OctetsFrom<Source>, 
[src]

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

impl<T> RecordData for T where
    T: RtypeRecordData + Compose
[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>,