#[repr(u64)]pub enum KeyType {
Show 44 variants
Rsa = 0,
Dsa = 1,
Dh = 2,
Ec = 3,
X942Dh = 4,
Kea = 5,
GenericSecret = 16,
Rc2 = 17,
Rc4 = 18,
Des = 19,
Des2 = 20,
Des3 = 21,
Cast = 22,
Cast3 = 23,
Cast128 = 24,
Rc5 = 25,
Idea = 26,
Skipjack = 27,
Baton = 28,
Juniper = 29,
Cdmf = 30,
Aes = 31,
Blowfish = 32,
Twofish = 33,
Securid = 34,
Hotp = 35,
Acti = 36,
Camellia = 37,
Aria = 38,
Md5Hmac = 39,
Sha1Hmac = 40,
Ripemd128Hmac = 41,
Ripemd160Hmac = 42,
Sha256Hmac = 43,
Sha384Hmac = 44,
Sha512Hmac = 45,
Sha224Hmac = 46,
Seed = 47,
Gostr3410 = 48,
Gostr3411 = 49,
Gost28147 = 50,
EcEdwards = 64,
EcMontgomery = 65,
UnknownKeyType(u64),
}
Variants§
Rsa = 0
Dsa = 1
Dh = 2
Ec = 3
X942Dh = 4
Kea = 5
GenericSecret = 16
Rc2 = 17
Rc4 = 18
Des = 19
Des2 = 20
Des3 = 21
Cast = 22
Cast3 = 23
Cast128 = 24
Rc5 = 25
Idea = 26
Skipjack = 27
Baton = 28
Juniper = 29
Cdmf = 30
Aes = 31
Blowfish = 32
Twofish = 33
Securid = 34
Hotp = 35
Acti = 36
Camellia = 37
Aria = 38
Md5Hmac = 39
Sha1Hmac = 40
Ripemd128Hmac = 41
Ripemd160Hmac = 42
Sha256Hmac = 43
Sha384Hmac = 44
Sha512Hmac = 45
Sha224Hmac = 46
Seed = 47
Gostr3410 = 48
Gostr3411 = 49
Gost28147 = 50
EcEdwards = 64
EcMontgomery = 65
UnknownKeyType(u64)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for KeyType
impl<'de> Deserialize<'de> for KeyType
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
impl Copy for KeyType
impl Eq for KeyType
impl StructuralPartialEq for KeyType
Auto Trait Implementations§
impl Freeze for KeyType
impl RefUnwindSafe for KeyType
impl Send for KeyType
impl Sync for KeyType
impl Unpin for KeyType
impl UnwindSafe for KeyType
Blanket Implementations§
§impl<T> Annotate for T
impl<T> Annotate for T
default fn format( &self, _variant: Option<&str>, _field: &MemberId<'_>, ) -> Option<Format>
default fn comment( &self, _variant: Option<&str>, _field: &MemberId<'_>, ) -> Option<String>
default fn as_annotate(&self) -> Option<&dyn Annotate>
default fn thunk_serialize( &self, serializer: &mut AnnotatedSerializer<'_>, ) -> Result<Document, Error>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§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 Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.