#[non_exhaustive]pub enum KdfAlg {
None,
Bcrypt,
}
Expand description
Key Derivation Function (KDF) algorithms.
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§
source§impl Ord for KdfAlg
impl Ord for KdfAlg
source§impl PartialEq for KdfAlg
impl PartialEq for KdfAlg
source§impl PartialOrd for KdfAlg
impl PartialOrd for KdfAlg
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for KdfAlg
impl Eq for KdfAlg
impl StructuralPartialEq for KdfAlg
Auto Trait Implementations§
impl Freeze for KdfAlg
impl RefUnwindSafe for KdfAlg
impl Send for KdfAlg
impl Sync for KdfAlg
impl Unpin for KdfAlg
impl UnwindSafe for KdfAlg
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