#[non_exhaustive]pub enum KeyRoleType {
Show 21 variants
BDK,
CVK,
DEK,
MKAC,
MKSMC,
MKSMI,
MKDAC,
MKDN,
MKCP,
MKOTH,
KEK,
MAC16609,
MAC97971,
MAC97972,
MAC97973,
MAC97974,
MAC97975,
ZPK,
PVKIBM,
PVKPVV,
PVKOTH,
}
Expand description
See KMIP 1.0 section 9.1.3.2.15 Key Role Type 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.
BDK
CVK
DEK
MKAC
MKSMC
MKSMI
MKDAC
MKDN
MKCP
MKOTH
KEK
MAC16609
MAC97971
MAC97972
MAC97973
MAC97974
MAC97975
ZPK
PVKIBM
PVKPVV
PVKOTH
Trait Implementations§
Source§impl Clone for KeyRoleType
impl Clone for KeyRoleType
Source§fn clone(&self) -> KeyRoleType
fn clone(&self) -> KeyRoleType
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 KeyRoleType
impl Debug for KeyRoleType
Source§impl<'de> Deserialize<'de> for KeyRoleType
impl<'de> Deserialize<'de> for KeyRoleType
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 KeyRoleType
impl Display for KeyRoleType
Source§impl PartialEq for KeyRoleType
impl PartialEq for KeyRoleType
Source§impl Serialize for KeyRoleType
impl Serialize for KeyRoleType
impl Copy for KeyRoleType
impl Eq for KeyRoleType
impl StructuralPartialEq for KeyRoleType
Auto Trait Implementations§
impl Freeze for KeyRoleType
impl RefUnwindSafe for KeyRoleType
impl Send for KeyRoleType
impl Sync for KeyRoleType
impl Unpin for KeyRoleType
impl UnwindSafe for KeyRoleType
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