Struct trust_dns_proto::rr::dnssec::SupportedAlgorithms
source · pub struct SupportedAlgorithms { /* private fields */ }
Available on crate feature
dnssec
only.Expand description
Used to specify the set of SupportedAlgorithms between a client and server
Implementations§
Trait Implementations§
source§impl BinEncodable for SupportedAlgorithms
impl BinEncodable for SupportedAlgorithms
source§fn emit(&self, encoder: &mut BinEncoder<'_>) -> ProtoResult<()>
fn emit(&self, encoder: &mut BinEncoder<'_>) -> ProtoResult<()>
Write the type to the stream
source§impl Clone for SupportedAlgorithms
impl Clone for SupportedAlgorithms
source§fn clone(&self) -> SupportedAlgorithms
fn clone(&self) -> SupportedAlgorithms
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SupportedAlgorithms
impl Debug for SupportedAlgorithms
source§impl Default for SupportedAlgorithms
impl Default for SupportedAlgorithms
source§impl<'de> Deserialize<'de> for SupportedAlgorithms
impl<'de> Deserialize<'de> for SupportedAlgorithms
source§fn 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
source§impl Display for SupportedAlgorithms
impl Display for SupportedAlgorithms
source§impl<'a> From<&'a [u8]> for SupportedAlgorithms
impl<'a> From<&'a [u8]> for SupportedAlgorithms
source§impl<'a> From<&'a SupportedAlgorithms> for Vec<u8>
impl<'a> From<&'a SupportedAlgorithms> for Vec<u8>
source§fn from(value: &'a SupportedAlgorithms) -> Self
fn from(value: &'a SupportedAlgorithms) -> Self
Converts to this type from the input type.
source§impl From<Algorithm> for SupportedAlgorithms
impl From<Algorithm> for SupportedAlgorithms
source§impl Hash for SupportedAlgorithms
impl Hash for SupportedAlgorithms
source§impl PartialEq for SupportedAlgorithms
impl PartialEq for SupportedAlgorithms
source§fn eq(&self, other: &SupportedAlgorithms) -> bool
fn eq(&self, other: &SupportedAlgorithms) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SupportedAlgorithms
impl PartialOrd for SupportedAlgorithms
source§fn partial_cmp(&self, other: &SupportedAlgorithms) -> Option<Ordering>
fn partial_cmp(&self, other: &SupportedAlgorithms) -> Option<Ordering>
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 Serialize for SupportedAlgorithms
impl Serialize for SupportedAlgorithms
impl Copy for SupportedAlgorithms
impl Eq for SupportedAlgorithms
impl StructuralEq for SupportedAlgorithms
impl StructuralPartialEq for SupportedAlgorithms
Auto Trait Implementations§
impl RefUnwindSafe for SupportedAlgorithms
impl Send for SupportedAlgorithms
impl Sync for SupportedAlgorithms
impl Unpin for SupportedAlgorithms
impl UnwindSafe for SupportedAlgorithms
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.