#[non_exhaustive]pub enum HkdfHash {
Sha2_256,
Sha2_384,
Sha3_256,
}Expand description
Hash function underlying an HKDF operation.
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.
Trait Implementations§
impl Copy for HkdfHash
impl Eq for HkdfHash
impl StructuralPartialEq for HkdfHash
Auto Trait Implementations§
impl Freeze for HkdfHash
impl RefUnwindSafe for HkdfHash
impl Send for HkdfHash
impl Sync for HkdfHash
impl Unpin for HkdfHash
impl UnsafeUnpin for HkdfHash
impl UnwindSafe for HkdfHash
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