#[non_exhaustive]pub enum HashingAlgorithm {
MD2,
MD4,
MD5,
SHA1,
SHA224,
SHA256,
SHA384,
SHA512,
RIPEMD160,
Tiger,
Whirlpool,
}
Expand description
See KMIP 1.0 section 9.1.3.2.15 Hashing Algorithm Enumeration.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for HashingAlgorithm
impl Clone for HashingAlgorithm
Source§fn clone(&self) -> HashingAlgorithm
fn clone(&self) -> HashingAlgorithm
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 HashingAlgorithm
impl Debug for HashingAlgorithm
Source§impl<'de> Deserialize<'de> for HashingAlgorithm
impl<'de> Deserialize<'de> for HashingAlgorithm
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 HashingAlgorithm
impl Display for HashingAlgorithm
Source§impl PartialEq for HashingAlgorithm
impl PartialEq for HashingAlgorithm
Source§impl Serialize for HashingAlgorithm
impl Serialize for HashingAlgorithm
impl Copy for HashingAlgorithm
impl Eq for HashingAlgorithm
impl StructuralPartialEq for HashingAlgorithm
Auto Trait Implementations§
impl Freeze for HashingAlgorithm
impl RefUnwindSafe for HashingAlgorithm
impl Send for HashingAlgorithm
impl Sync for HashingAlgorithm
impl Unpin for HashingAlgorithm
impl UnwindSafe for HashingAlgorithm
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