pub struct Nsec3<Octets> { /* private fields */ }
Implementations§
source§impl<Octets> Nsec3<Octets>
impl<Octets> Nsec3<Octets>
pub fn new( hash_algorithm: Nsec3HashAlg, flags: u8, iterations: u16, salt: Nsec3Salt<Octets>, next_owner: OwnerHash<Octets>, types: RtypeBitmap<Octets> ) -> Self
pub fn hash_algorithm(&self) -> Nsec3HashAlg
pub fn flags(&self) -> u8
pub fn opt_out(&self) -> bool
pub fn iterations(&self) -> u16
pub fn salt(&self) -> &Nsec3Salt<Octets>
pub fn next_owner(&self) -> &OwnerHash<Octets>
pub fn types(&self) -> &RtypeBitmap<Octets>
source§impl<SrcOctets> Nsec3<SrcOctets>
impl<SrcOctets> Nsec3<SrcOctets>
pub fn flatten_into<Octets>(self) -> Result<Nsec3<Octets>, PushError>where Octets: OctetsFrom<SrcOctets>,
Trait Implementations§
source§impl<Octets, Other> CanonicalOrd<Nsec3<Other>> for Nsec3<Octets>where
Octets: AsRef<[u8]>,
Other: AsRef<[u8]>,
impl<Octets, Other> CanonicalOrd<Nsec3<Other>> for Nsec3<Octets>where Octets: AsRef<[u8]>, Other: AsRef<[u8]>,
source§fn canonical_cmp(&self, other: &Nsec3<Other>) -> Ordering
fn canonical_cmp(&self, other: &Nsec3<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 Nsec3<Octets>
impl<Octets: AsRef<[u8]>> Compose for Nsec3<Octets>
source§impl<O, N> From<Nsec3<O>> for AllRecordData<O, N>
impl<O, N> From<Nsec3<O>> for AllRecordData<O, N>
source§impl<O, N> From<Nsec3<O>> for ZoneRecordData<O, N>
impl<O, N> From<Nsec3<O>> for ZoneRecordData<O, N>
source§impl<Octets, SrcOctets> OctetsFrom<Nsec3<SrcOctets>> for Nsec3<Octets>where
Octets: OctetsFrom<SrcOctets>,
impl<Octets, SrcOctets> OctetsFrom<Nsec3<SrcOctets>> for Nsec3<Octets>where Octets: OctetsFrom<SrcOctets>,
source§impl<Octets: AsRef<[u8]>> Ord for Nsec3<Octets>
impl<Octets: AsRef<[u8]>> Ord for Nsec3<Octets>
source§impl<Octets, Other> PartialEq<Nsec3<Other>> for Nsec3<Octets>where
Octets: AsRef<[u8]>,
Other: AsRef<[u8]>,
impl<Octets, Other> PartialEq<Nsec3<Other>> for Nsec3<Octets>where Octets: AsRef<[u8]>, Other: AsRef<[u8]>,
source§impl<Octets, Other> PartialOrd<Nsec3<Other>> for Nsec3<Octets>where
Octets: AsRef<[u8]>,
Other: AsRef<[u8]>,
impl<Octets, Other> PartialOrd<Nsec3<Other>> for Nsec3<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 Nsec3<Octets>
impl<Octets> RtypeRecordData for Nsec3<Octets>
impl<Octets: AsRef<[u8]>> Eq for Nsec3<Octets>
Auto Trait Implementations§
impl<Octets> RefUnwindSafe for Nsec3<Octets>where Octets: RefUnwindSafe,
impl<Octets> Send for Nsec3<Octets>where Octets: Send,
impl<Octets> Sync for Nsec3<Octets>where Octets: Sync,
impl<Octets> Unpin for Nsec3<Octets>where Octets: Unpin,
impl<Octets> UnwindSafe for Nsec3<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