#[repr(u64)]pub enum KeyType {
Show 44 variants
Rsa,
Dsa,
Dh,
Ec,
X942Dh,
Kea,
GenericSecret,
Rc2,
Rc4,
Des,
Des2,
Des3,
Cast,
Cast3,
Cast128,
Rc5,
Idea,
Skipjack,
Baton,
Juniper,
Cdmf,
Aes,
Blowfish,
Twofish,
Securid,
Hotp,
Acti,
Camellia,
Aria,
Md5Hmac,
Sha1Hmac,
Ripemd128Hmac,
Ripemd160Hmac,
Sha256Hmac,
Sha384Hmac,
Sha512Hmac,
Sha224Hmac,
Seed,
Gostr3410,
Gostr3411,
Gost28147,
EcEdwards,
EcMontgomery,
UnknownKeyType(u64),
}
Variants§
Rsa
Dsa
Dh
Ec
X942Dh
Kea
GenericSecret
Rc2
Rc4
Des
Des2
Des3
Cast
Cast3
Cast128
Rc5
Idea
Skipjack
Baton
Juniper
Cdmf
Aes
Blowfish
Twofish
Securid
Hotp
Acti
Camellia
Aria
Md5Hmac
Sha1Hmac
Ripemd128Hmac
Ripemd160Hmac
Sha256Hmac
Sha384Hmac
Sha512Hmac
Sha224Hmac
Seed
Gostr3410
Gostr3411
Gost28147
EcEdwards
EcMontgomery
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
source§impl PartialEq<KeyType> for KeyType
impl PartialEq<KeyType> for KeyType
impl Copy for KeyType
impl Eq for KeyType
impl StructuralEq for KeyType
impl StructuralPartialEq for KeyType
Auto Trait Implementations§
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 Twhere
T: Serialize + ?Sized,
impl<T> Annotate for Twhere T: Serialize + ?Sized,
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
§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.