pub struct Nsec3param<Octets> { /* private fields */ }
Implementations
sourceimpl<Octets> Nsec3param<Octets>
impl<Octets> Nsec3param<Octets>
pub fn new(
hash_algorithm: Nsec3HashAlg,
flags: u8,
iterations: u16,
salt: Nsec3Salt<Octets>
) -> Self
pub fn hash_algorithm(&self) -> Nsec3HashAlg
pub fn flags(&self) -> u8
pub fn iterations(&self) -> u16
pub fn salt(&self) -> &Nsec3Salt<Octets>
Trait Implementations
sourceimpl<Octets, Other> CanonicalOrd<Nsec3param<Other>> for Nsec3param<Octets>where
Octets: AsRef<[u8]>,
Other: AsRef<[u8]>,
impl<Octets, Other> CanonicalOrd<Nsec3param<Other>> for Nsec3param<Octets>where
Octets: AsRef<[u8]>,
Other: AsRef<[u8]>,
sourcefn canonical_cmp(&self, other: &Nsec3param<Other>) -> Ordering
fn canonical_cmp(&self, other: &Nsec3param<Other>) -> Ordering
Returns the canonical ordering between self
and other
.
sourcefn canonical_lt(&self, other: &Rhs) -> bool
fn canonical_lt(&self, other: &Rhs) -> bool
Returns whether self
is canonically less than other
.
sourcefn canonical_le(&self, other: &Rhs) -> bool
fn canonical_le(&self, other: &Rhs) -> bool
Returns whether self
is canonically less than or equal to other
.
sourcefn canonical_gt(&self, other: &Rhs) -> bool
fn canonical_gt(&self, other: &Rhs) -> bool
Returns whether self
is canonically greater than other
.
sourcefn canonical_ge(&self, other: &Rhs) -> bool
fn canonical_ge(&self, other: &Rhs) -> bool
Returns whether self
is canonically greater than or equal to other
.
sourceimpl<Octets: Clone> Clone for Nsec3param<Octets>
impl<Octets: Clone> Clone for Nsec3param<Octets>
sourcefn clone(&self) -> Nsec3param<Octets>
fn clone(&self) -> Nsec3param<Octets>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<Octets: AsRef<[u8]>> Compose for Nsec3param<Octets>
impl<Octets: AsRef<[u8]>> Compose for Nsec3param<Octets>
sourcefn compose<T: OctetsBuilder + AsMut<[u8]>>(
&self,
target: &mut T
) -> Result<(), ShortBuf>
fn compose<T: OctetsBuilder + AsMut<[u8]>>(
&self,
target: &mut T
) -> Result<(), ShortBuf>
Appends the concrete representation of the value to the target. Read more
sourcefn compose_canonical<T: OctetsBuilder + AsMut<[u8]>>(
&self,
target: &mut T
) -> Result<(), ShortBuf>
fn compose_canonical<T: OctetsBuilder + AsMut<[u8]>>(
&self,
target: &mut T
) -> Result<(), ShortBuf>
Appends the canonical representation of the value to the target. Read more
sourceimpl<Octets: AsRef<[u8]>> Debug for Nsec3param<Octets>
impl<Octets: AsRef<[u8]>> Debug for Nsec3param<Octets>
sourceimpl<'de, Octets> Deserialize<'de> for Nsec3param<Octets>where
Octets: FromBuilder + DeserializeOctets<'de>,
<Octets as FromBuilder>::Builder: OctetsBuilder<Octets = Octets> + EmptyBuilder,
impl<'de, Octets> Deserialize<'de> for Nsec3param<Octets>where
Octets: FromBuilder + DeserializeOctets<'de>,
<Octets as FromBuilder>::Builder: OctetsBuilder<Octets = Octets> + EmptyBuilder,
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl<Octets: AsRef<[u8]>> Display for Nsec3param<Octets>
impl<Octets: AsRef<[u8]>> Display for Nsec3param<Octets>
sourceimpl<O, N> From<Nsec3param<O>> for AllRecordData<O, N>
impl<O, N> From<Nsec3param<O>> for AllRecordData<O, N>
sourcefn from(value: Nsec3param<O>) -> Self
fn from(value: Nsec3param<O>) -> Self
Converts to this type from the input type.
sourceimpl<O, N> From<Nsec3param<O>> for ZoneRecordData<O, N>
impl<O, N> From<Nsec3param<O>> for ZoneRecordData<O, N>
sourcefn from(value: Nsec3param<O>) -> Self
fn from(value: Nsec3param<O>) -> Self
Converts to this type from the input type.
sourceimpl<Octets: AsRef<[u8]>> Hash for Nsec3param<Octets>
impl<Octets: AsRef<[u8]>> Hash for Nsec3param<Octets>
sourceimpl<Octets, SrcOctets> OctetsFrom<Nsec3param<SrcOctets>> for Nsec3param<Octets>where
Octets: OctetsFrom<SrcOctets>,
impl<Octets, SrcOctets> OctetsFrom<Nsec3param<SrcOctets>> for Nsec3param<Octets>where
Octets: OctetsFrom<SrcOctets>,
sourcefn octets_from(source: Nsec3param<SrcOctets>) -> Result<Self, ShortBuf>
fn octets_from(source: Nsec3param<SrcOctets>) -> Result<Self, ShortBuf>
Performs the conversion.
sourceimpl<Octets: AsRef<[u8]>> Ord for Nsec3param<Octets>
impl<Octets: AsRef<[u8]>> Ord for Nsec3param<Octets>
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl<Ref: OctetsRef> Parse<Ref> for Nsec3param<Ref::Range>
impl<Ref: OctetsRef> Parse<Ref> for Nsec3param<Ref::Range>
sourceimpl<Octets, Other> PartialEq<Nsec3param<Other>> for Nsec3param<Octets>where
Octets: AsRef<[u8]>,
Other: AsRef<[u8]>,
impl<Octets, Other> PartialEq<Nsec3param<Other>> for Nsec3param<Octets>where
Octets: AsRef<[u8]>,
Other: AsRef<[u8]>,
sourcefn eq(&self, other: &Nsec3param<Other>) -> bool
fn eq(&self, other: &Nsec3param<Other>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl<Octets, Other> PartialOrd<Nsec3param<Other>> for Nsec3param<Octets>where
Octets: AsRef<[u8]>,
Other: AsRef<[u8]>,
impl<Octets, Other> PartialOrd<Nsec3param<Other>> for Nsec3param<Octets>where
Octets: AsRef<[u8]>,
Other: AsRef<[u8]>,
sourcefn partial_cmp(&self, other: &Nsec3param<Other>) -> Option<Ordering>
fn partial_cmp(&self, other: &Nsec3param<Other>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn 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 more
sourceimpl<Octets> RtypeRecordData for Nsec3param<Octets>
impl<Octets> RtypeRecordData for Nsec3param<Octets>
sourceimpl Scan for Nsec3param<Bytes>
impl Scan for Nsec3param<Bytes>
sourceimpl<Octets> Serialize for Nsec3param<Octets>where
Octets: SerializeOctets + AsRef<[u8]>,
impl<Octets> Serialize for Nsec3param<Octets>where
Octets: SerializeOctets + AsRef<[u8]>,
impl<Octets: AsRef<[u8]>> Eq for Nsec3param<Octets>
Auto Trait Implementations
impl<Octets> RefUnwindSafe for Nsec3param<Octets>where
Octets: RefUnwindSafe,
impl<Octets> Send for Nsec3param<Octets>where
Octets: Send,
impl<Octets> Sync for Nsec3param<Octets>where
Octets: Sync,
impl<Octets> Unpin for Nsec3param<Octets>where
Octets: Unpin,
impl<Octets> UnwindSafe for Nsec3param<Octets>where
Octets: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Source, Target> OctetsInto<Target> for Sourcewhere
Target: OctetsFrom<Source>,
impl<Source, Target> OctetsInto<Target> for Sourcewhere
Target: OctetsFrom<Source>,
sourcefn octets_into(self) -> Result<Target, ShortBuf>
fn octets_into(self) -> Result<Target, ShortBuf>
Performs the conversion.
sourceimpl<Octets, T> ParseRecordData<Octets> for Twhere
T: RtypeRecordData + Parse<Octets> + Compose,
impl<Octets, T> ParseRecordData<Octets> for Twhere
T: RtypeRecordData + Parse<Octets> + Compose,
sourcefn 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