#[non_exhaustive]pub enum HpkeKdf {
HKDF_SHA256,
HKDF_SHA384,
HKDF_SHA512,
Unknown(u16),
}
Expand description
The Key Derivation Function (Kdf
) type for HPKE operations.
Listed by IANA, as specified in RFC 9180 Section 7.2
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Trait Implementations§
impl Copy for HpkeKdf
impl Eq for HpkeKdf
impl StructuralPartialEq for HpkeKdf
Auto Trait Implementations§
impl Freeze for HpkeKdf
impl RefUnwindSafe for HpkeKdf
impl Send for HpkeKdf
impl Sync for HpkeKdf
impl Unpin for HpkeKdf
impl UnwindSafe for HpkeKdf
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