pub enum DerivationParams {
HKDF(HKDF),
PBKDF2(PBKDF2),
Scrypt(Scrypt),
}Expand description
Enum representing the derivation parameters.
CDDL:
DerivationParams = HKDF / PBKDF2 / ScryptVariants§
Trait Implementations§
Source§impl Clone for DerivationParams
impl Clone for DerivationParams
Source§fn clone(&self) -> DerivationParams
fn clone(&self) -> DerivationParams
Returns a copy 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 moreSource§impl Debug for DerivationParams
impl Debug for DerivationParams
Source§impl Display for DerivationParams
impl Display for DerivationParams
Source§impl From<DerivationParams> for CBOR
impl From<DerivationParams> for CBOR
Source§fn from(value: DerivationParams) -> Self
fn from(value: DerivationParams) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DerivationParams
impl PartialEq for DerivationParams
Source§impl TryFrom<CBOR> for DerivationParams
impl TryFrom<CBOR> for DerivationParams
impl Eq for DerivationParams
impl StructuralPartialEq for DerivationParams
Auto Trait Implementations§
impl Freeze for DerivationParams
impl RefUnwindSafe for DerivationParams
impl Send for DerivationParams
impl Sync for DerivationParams
impl Unpin for DerivationParams
impl UnwindSafe for DerivationParams
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