Enum trust_dns::rr::dnssec::Nsec3HashAlgorithm
[−]
[src]
pub enum Nsec3HashAlgorithm { SHA1, }
Variants
SHA1
Methods
impl Nsec3HashAlgorithm
[src]
fn from_u8(value: u8) -> DecodeResult<Self>
fn hash(&self,
salt: &[u8],
name: &Name,
iterations: u16)
-> DnsSecResult<Vec<u8>>
salt: &[u8],
name: &Name,
iterations: u16)
-> DnsSecResult<Vec<u8>>
Trait Implementations
impl Debug for Nsec3HashAlgorithm
[src]
impl PartialEq for Nsec3HashAlgorithm
[src]
fn eq(&self, __arg_0: &Nsec3HashAlgorithm) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Eq for Nsec3HashAlgorithm
[src]
impl Hash for Nsec3HashAlgorithm
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
impl Clone for Nsec3HashAlgorithm
[src]
fn clone(&self) -> Nsec3HashAlgorithm
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more