Struct trust_dns::rr::dnssec::SupportedAlgorithms
[−]
[src]
pub struct SupportedAlgorithms { /* fields omitted */ }
Used to specify the set of SupportedAlgorithms between a client and server
Methods
impl SupportedAlgorithms
[src]
fn new() -> Self
Return a new set of Supported algorithms
fn all() -> Self
Specify the entire set is supported
fn from_vec(algorithms: &[Algorithm]) -> Self
Based on the set of Algorithms, return the supported set
fn set(&mut self, algorithm: Algorithm)
Set the specified algorithm as supported
fn has(&self, algorithm: Algorithm) -> bool
Returns true if the algorithm is supported
fn iter(&self) -> SupportedAlgorithmsIter
Return an Iterator over the supported set.
fn len(&self) -> u16
Return the count of supported algorithms
Trait Implementations
impl Debug for SupportedAlgorithms
[src]
impl PartialOrd for SupportedAlgorithms
[src]
fn partial_cmp(&self, __arg_0: &SupportedAlgorithms) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, __arg_0: &SupportedAlgorithms) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, __arg_0: &SupportedAlgorithms) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, __arg_0: &SupportedAlgorithms) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, __arg_0: &SupportedAlgorithms) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl PartialEq for SupportedAlgorithms
[src]
fn eq(&self, __arg_0: &SupportedAlgorithms) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SupportedAlgorithms) -> bool
This method tests for !=
.
impl Eq for SupportedAlgorithms
[src]
impl Clone for SupportedAlgorithms
[src]
fn clone(&self) -> SupportedAlgorithms
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
impl Copy for SupportedAlgorithms
[src]
impl Hash for SupportedAlgorithms
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Default for SupportedAlgorithms
[src]
fn default() -> SupportedAlgorithms
Returns the "default value" for a type. Read more