Enum openmls::prelude::HpkeKdfType
source · #[repr(u16)]pub enum HpkeKdfType {
HkdfSha256,
HkdfSha384,
HkdfSha512,
}
Expand description
KDF Types for HPKE
Variants§
Trait Implementations§
source§impl Clone for HpkeKdfType
impl Clone for HpkeKdfType
source§fn clone(&self) -> HpkeKdfType
fn clone(&self) -> HpkeKdfType
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 HpkeKdfType
impl Debug for HpkeKdfType
source§impl<'de> Deserialize<'de> for HpkeKdfType
impl<'de> Deserialize<'de> for HpkeKdfType
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<HpkeKdfType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<HpkeKdfType, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<Ciphersuite> for HpkeKdfType
impl From<Ciphersuite> for HpkeKdfType
source§fn from(ciphersuite_name: Ciphersuite) -> HpkeKdfType
fn from(ciphersuite_name: Ciphersuite) -> HpkeKdfType
Converts to this type from the input type.
source§impl PartialEq<HpkeKdfType> for HpkeKdfType
impl PartialEq<HpkeKdfType> for HpkeKdfType
source§fn eq(&self, other: &HpkeKdfType) -> bool
fn eq(&self, other: &HpkeKdfType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for HpkeKdfType
impl Serialize for HpkeKdfType
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 HpkeKdfType
impl Eq for HpkeKdfType
impl StructuralEq for HpkeKdfType
impl StructuralPartialEq for HpkeKdfType
Auto Trait Implementations§
impl RefUnwindSafe for HpkeKdfType
impl Send for HpkeKdfType
impl Sync for HpkeKdfType
impl Unpin for HpkeKdfType
impl UnwindSafe for HpkeKdfType
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