pub enum Type {
}Expand description
Enumeration of potential types and their associated data. Unknown at end to catch unrecognised types.
Variants§
Skcipher(Skcipher)
Symmetric Key Cipher
Cipher(Cipher)
Single Block Cipher
Shash(Shash)
Syncronous Hash
Ahash(Ahash)
Asyncronous Hash
Aead(Aead)
Authenticated Encryption with Associated Data
Rng(Rng)
Random Number Generator
Larval(Larval)
Test algorithm
Scomp
Synchronous Compression
Compression
General Compression
AkCipher
Asymmetric Cipher
Kpp
Key-agreement Protocol Primitive
Sig
Signature
Unknown(Unknown)
Unrecognised type, associated data collected in to a hash map
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Type
impl<'de> Deserialize<'de> for Type
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 StructuralPartialEq for Type
Auto Trait Implementations§
impl Freeze for Type
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
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