#[non_exhaustive]pub enum CryptographicAlgorithm {
DES,
TRIPLE_DES,
AES,
RSA,
}
Expand description
See KMIP 1.0 section 3.4 Cryptographic 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 CryptographicAlgorithm
impl Clone for CryptographicAlgorithm
Source§fn clone(&self) -> CryptographicAlgorithm
fn clone(&self) -> CryptographicAlgorithm
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 CryptographicAlgorithm
impl Debug for CryptographicAlgorithm
Source§impl<'de> Deserialize<'de> for CryptographicAlgorithm
impl<'de> Deserialize<'de> for CryptographicAlgorithm
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 CryptographicAlgorithm
impl Display for CryptographicAlgorithm
Source§impl PartialEq for CryptographicAlgorithm
impl PartialEq for CryptographicAlgorithm
Source§impl Serialize for CryptographicAlgorithm
impl Serialize for CryptographicAlgorithm
impl Copy for CryptographicAlgorithm
impl Eq for CryptographicAlgorithm
impl StructuralPartialEq for CryptographicAlgorithm
Auto Trait Implementations§
impl Freeze for CryptographicAlgorithm
impl RefUnwindSafe for CryptographicAlgorithm
impl Send for CryptographicAlgorithm
impl Sync for CryptographicAlgorithm
impl Unpin for CryptographicAlgorithm
impl UnwindSafe for CryptographicAlgorithm
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