#[non_exhaustive]#[repr(u16)]pub enum HpkeKdfId {
HKDF_SHA256 = 1,
HKDF_SHA384 = 2,
HKDF_SHA512 = 3,
}Expand description
HPKE Key Derivation Functions (KDFs) identifiers.
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 HpkeKdfId
impl Eq for HpkeKdfId
impl StructuralPartialEq for HpkeKdfId
Auto Trait Implementations§
impl Freeze for HpkeKdfId
impl RefUnwindSafe for HpkeKdfId
impl Send for HpkeKdfId
impl Sync for HpkeKdfId
impl Unpin for HpkeKdfId
impl UnwindSafe for HpkeKdfId
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