Enum HpkeKdfType
#[repr(u16)]pub enum HpkeKdfType {
HkdfSha256 = 1,
HkdfSha384 = 2,
HkdfSha512 = 3,
}Available on 32-bit or 64-bit only.
Expand description
KDF Types for HPKE
Variants§
Trait Implementations§
§impl Clone for HpkeKdfType
impl Clone for HpkeKdfType
§fn clone(&self) -> HpkeKdfType
fn clone(&self) -> HpkeKdfType
Returns a duplicate 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 more§impl Debug for HpkeKdfType
impl Debug for HpkeKdfType
§impl<'de> Deserialize<'de> for HpkeKdfType
impl<'de> Deserialize<'de> for HpkeKdfType
§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
§impl From<Ciphersuite> for HpkeKdfType
impl From<Ciphersuite> for HpkeKdfType
§fn from(ciphersuite_name: Ciphersuite) -> HpkeKdfType
fn from(ciphersuite_name: Ciphersuite) -> HpkeKdfType
Converts to this type from the input type.
§impl PartialEq for HpkeKdfType
impl PartialEq for HpkeKdfType
§impl Serialize for HpkeKdfType
impl Serialize for HpkeKdfType
§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 StructuralPartialEq for HpkeKdfType
Auto Trait Implementations§
impl Freeze for HpkeKdfType
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
§impl<T> Classify for T
impl<T> Classify for T
type Classified = T
fn classify(self) -> T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Declassify for T
impl<T> Declassify for T
type Declassified = T
fn declassify(self) -> T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more