pub struct Cdnskey<Octets> { /* private fields */ }
Implementations§
source§impl<SrcOctets> Cdnskey<SrcOctets>
impl<SrcOctets> Cdnskey<SrcOctets>
pub fn flatten_into<Octets>(self) -> Result<Cdnskey<Octets>, PushError>where Octets: OctetsFrom<SrcOctets>,
Trait Implementations§
source§impl<Octets, Other> CanonicalOrd<Cdnskey<Other>> for Cdnskey<Octets>where
Octets: AsRef<[u8]>,
Other: AsRef<[u8]>,
impl<Octets, Other> CanonicalOrd<Cdnskey<Other>> for Cdnskey<Octets>where Octets: AsRef<[u8]>, Other: AsRef<[u8]>,
source§fn canonical_cmp(&self, other: &Cdnskey<Other>) -> Ordering
fn canonical_cmp(&self, other: &Cdnskey<Other>) -> Ordering
Returns the canonical ordering between
self
and other
.source§fn canonical_lt(&self, other: &Rhs) -> bool
fn canonical_lt(&self, other: &Rhs) -> bool
Returns whether
self
is canonically less than other
.source§fn canonical_le(&self, other: &Rhs) -> bool
fn canonical_le(&self, other: &Rhs) -> bool
Returns whether
self
is canonically less than or equal to other
.source§fn canonical_gt(&self, other: &Rhs) -> bool
fn canonical_gt(&self, other: &Rhs) -> bool
Returns whether
self
is canonically greater than other
.source§fn canonical_ge(&self, other: &Rhs) -> bool
fn canonical_ge(&self, other: &Rhs) -> bool
Returns whether
self
is canonically greater than or equal to other
.source§impl<Octets: AsRef<[u8]>> Compose for Cdnskey<Octets>
impl<Octets: AsRef<[u8]>> Compose for Cdnskey<Octets>
source§impl<O, N> From<Cdnskey<O>> for AllRecordData<O, N>
impl<O, N> From<Cdnskey<O>> for AllRecordData<O, N>
source§impl<O, N> From<Cdnskey<O>> for ZoneRecordData<O, N>
impl<O, N> From<Cdnskey<O>> for ZoneRecordData<O, N>
source§impl<Octets, SrcOctets> OctetsFrom<Cdnskey<SrcOctets>> for Cdnskey<Octets>where
Octets: OctetsFrom<SrcOctets>,
impl<Octets, SrcOctets> OctetsFrom<Cdnskey<SrcOctets>> for Cdnskey<Octets>where Octets: OctetsFrom<SrcOctets>,
source§impl<Octets: AsRef<[u8]>> Ord for Cdnskey<Octets>
impl<Octets: AsRef<[u8]>> Ord for Cdnskey<Octets>
source§impl<Octets, Other> PartialEq<Cdnskey<Other>> for Cdnskey<Octets>where
Octets: AsRef<[u8]>,
Other: AsRef<[u8]>,
impl<Octets, Other> PartialEq<Cdnskey<Other>> for Cdnskey<Octets>where Octets: AsRef<[u8]>, Other: AsRef<[u8]>,
source§impl<Octets, Other> PartialOrd<Cdnskey<Other>> for Cdnskey<Octets>where
Octets: AsRef<[u8]>,
Other: AsRef<[u8]>,
impl<Octets, Other> PartialOrd<Cdnskey<Other>> for Cdnskey<Octets>where Octets: AsRef<[u8]>, Other: AsRef<[u8]>,
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl<Octets> RtypeRecordData for Cdnskey<Octets>
impl<Octets> RtypeRecordData for Cdnskey<Octets>
impl<Octets: AsRef<[u8]>> Eq for Cdnskey<Octets>
Auto Trait Implementations§
impl<Octets> RefUnwindSafe for Cdnskey<Octets>where Octets: RefUnwindSafe,
impl<Octets> Send for Cdnskey<Octets>where Octets: Send,
impl<Octets> Sync for Cdnskey<Octets>where Octets: Sync,
impl<Octets> Unpin for Cdnskey<Octets>where Octets: Unpin,
impl<Octets> UnwindSafe for Cdnskey<Octets>where Octets: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Source, Target> OctetsInto<Target> for Sourcewhere
Target: OctetsFrom<Source>,
impl<Source, Target> OctetsInto<Target> for Sourcewhere Target: OctetsFrom<Source>,
source§fn octets_into(self) -> Result<Target, ShortBuf>
fn octets_into(self) -> Result<Target, ShortBuf>
Performs the conversion.
source§impl<Octets, T> ParseRecordData<Octets> for Twhere
T: RtypeRecordData + Parse<Octets> + Compose,
impl<Octets, T> ParseRecordData<Octets> for Twhere T: RtypeRecordData + Parse<Octets> + Compose,
source§fn parse_data(
rtype: Rtype,
parser: &mut Parser<Octets>
) -> Result<Option<T>, ParseError>
fn parse_data( rtype: Rtype, parser: &mut Parser<Octets> ) -> Result<Option<T>, ParseError>
Parses the record data. Read more