pub struct Ds<Octets> { /* private fields */ }
Implementations§
source§impl<SrcOctets> Ds<SrcOctets>
impl<SrcOctets> Ds<SrcOctets>
pub fn flatten_into<Octets>(self) -> Result<Ds<Octets>, PushError>where Octets: OctetsFrom<SrcOctets>,
Trait Implementations§
source§impl<Octets, Other> CanonicalOrd<Ds<Other>> for Ds<Octets>where
Octets: AsRef<[u8]>,
Other: AsRef<[u8]>,
impl<Octets, Other> CanonicalOrd<Ds<Other>> for Ds<Octets>where Octets: AsRef<[u8]>, Other: AsRef<[u8]>,
source§fn canonical_cmp(&self, other: &Ds<Other>) -> Ordering
fn canonical_cmp(&self, other: &Ds<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 Ds<Octets>
impl<Octets: AsRef<[u8]>> Compose for Ds<Octets>
source§impl<O, N> From<Ds<O>> for AllRecordData<O, N>
impl<O, N> From<Ds<O>> for AllRecordData<O, N>
source§impl<O, N> From<Ds<O>> for ZoneRecordData<O, N>
impl<O, N> From<Ds<O>> for ZoneRecordData<O, N>
source§impl<Octets, SrcOctets> OctetsFrom<Ds<SrcOctets>> for Ds<Octets>where
Octets: OctetsFrom<SrcOctets>,
impl<Octets, SrcOctets> OctetsFrom<Ds<SrcOctets>> for Ds<Octets>where Octets: OctetsFrom<SrcOctets>,
source§impl<Octets: AsRef<[u8]>> Ord for Ds<Octets>
impl<Octets: AsRef<[u8]>> Ord for Ds<Octets>
source§impl<Octets, Other> PartialEq<Ds<Other>> for Ds<Octets>where
Octets: AsRef<[u8]>,
Other: AsRef<[u8]>,
impl<Octets, Other> PartialEq<Ds<Other>> for Ds<Octets>where Octets: AsRef<[u8]>, Other: AsRef<[u8]>,
source§impl<Octets, Other> PartialOrd<Ds<Other>> for Ds<Octets>where
Octets: AsRef<[u8]>,
Other: AsRef<[u8]>,
impl<Octets, Other> PartialOrd<Ds<Other>> for Ds<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 Ds<Octets>
impl<Octets> RtypeRecordData for Ds<Octets>
impl<Octets: AsRef<[u8]>> Eq for Ds<Octets>
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§
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