Enum openmls_traits::types::AeadType
source · #[repr(u16)]pub enum AeadType {
Aes128Gcm,
Aes256Gcm,
ChaCha20Poly1305,
}
Expand description
AEAD types
Variants§
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for AeadType
impl<'de> Deserialize<'de> for AeadType
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 From<Ciphersuite> for AeadType
impl From<Ciphersuite> for AeadType
source§fn from(ciphersuite_name: Ciphersuite) -> Self
fn from(ciphersuite_name: Ciphersuite) -> Self
Converts to this type from the input type.
source§impl PartialEq<AeadType> for AeadType
impl PartialEq<AeadType> for AeadType
impl Copy for AeadType
impl Eq for AeadType
impl StructuralEq for AeadType
impl StructuralPartialEq for AeadType
Auto Trait Implementations§
impl RefUnwindSafe for AeadType
impl Send for AeadType
impl Sync for AeadType
impl Unpin for AeadType
impl UnwindSafe for AeadType
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