Enum openmls::prelude::HpkeAeadType
source · #[repr(u16)]pub enum HpkeAeadType {
AesGcm128,
AesGcm256,
ChaCha20Poly1305,
Export,
}
Expand description
AEAD Types for HPKE.
Variants§
Trait Implementations§
source§impl Clone for HpkeAeadType
impl Clone for HpkeAeadType
source§fn clone(&self) -> HpkeAeadType
fn clone(&self) -> HpkeAeadType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for HpkeAeadType
impl Debug for HpkeAeadType
source§impl<'de> Deserialize<'de> for HpkeAeadType
impl<'de> Deserialize<'de> for HpkeAeadType
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<HpkeAeadType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<HpkeAeadType, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<Ciphersuite> for HpkeAeadType
impl From<Ciphersuite> for HpkeAeadType
source§fn from(ciphersuite_name: Ciphersuite) -> HpkeAeadType
fn from(ciphersuite_name: Ciphersuite) -> HpkeAeadType
Converts to this type from the input type.
source§impl PartialEq<HpkeAeadType> for HpkeAeadType
impl PartialEq<HpkeAeadType> for HpkeAeadType
source§fn eq(&self, other: &HpkeAeadType) -> bool
fn eq(&self, other: &HpkeAeadType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for HpkeAeadType
impl Serialize for HpkeAeadType
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for HpkeAeadType
impl Eq for HpkeAeadType
impl StructuralEq for HpkeAeadType
impl StructuralPartialEq for HpkeAeadType
Auto Trait Implementations§
impl RefUnwindSafe for HpkeAeadType
impl Send for HpkeAeadType
impl Sync for HpkeAeadType
impl Unpin for HpkeAeadType
impl UnwindSafe for HpkeAeadType
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