#[repr(u64)]pub enum KeyType {
Show 63 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,
Chacha20 = 51,
Poly1305 = 52,
AesXts = 53,
Sha3224Hmac = 54,
Sha3256Hmac = 55,
Sha3384Hmac = 56,
Sha3512Hmac = 57,
Blake2b160Hmac = 58,
Blake2b256Hmac = 59,
Blake2b384Hmac = 60,
Blake2b512Hmac = 61,
Salsa20 = 62,
X2ratchet = 63,
EcEdwards = 64,
EcMontgomery = 65,
Hkdf = 66,
Sha512224Hmac = 67,
Sha512256Hmac = 68,
Sha512THmac = 69,
Hss = 70,
VendorDefined = 2_147_483_648,
UnknownKeyType = 18_446_744_073_709_551_615,
}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
Chacha20 = 51
Poly1305 = 52
AesXts = 53
Sha3224Hmac = 54
Sha3256Hmac = 55
Sha3384Hmac = 56
Sha3512Hmac = 57
Blake2b160Hmac = 58
Blake2b256Hmac = 59
Blake2b384Hmac = 60
Blake2b512Hmac = 61
Salsa20 = 62
X2ratchet = 63
EcEdwards = 64
EcMontgomery = 65
Hkdf = 66
Sha512224Hmac = 67
Sha512256Hmac = 68
Sha512THmac = 69
Hss = 70
VendorDefined = 2_147_483_648
UnknownKeyType = 18_446_744_073_709_551_615
Implementations§
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§
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.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> Serialize for T
impl<T> Serialize for T
fn erased_serialize(&self, serializer: &mut dyn Serializer) -> Result<(), Error>
fn do_erased_serialize( &self, serializer: &mut dyn Serializer, ) -> Result<(), ErrorImpl>
§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.