pub enum KeyDerivationFunctionScheme {
Kdf1Sp800_56a(HashScheme),
Kdf2(HashScheme),
Kdf1Sp800_108(HashScheme),
Mgf1(HashScheme),
Null,
}Expand description
Variants
Kdf1Sp800_56a(HashScheme)
Kdf2(HashScheme)
Kdf1Sp800_108(HashScheme)
Mgf1(HashScheme)
Null
Trait Implementations
sourceimpl Clone for KeyDerivationFunctionScheme
impl Clone for KeyDerivationFunctionScheme
sourcefn clone(&self) -> KeyDerivationFunctionScheme
fn clone(&self) -> KeyDerivationFunctionScheme
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for KeyDerivationFunctionScheme
impl Debug for KeyDerivationFunctionScheme
sourceimpl From<KeyDerivationFunctionScheme> for TPMT_KDF_SCHEME
impl From<KeyDerivationFunctionScheme> for TPMT_KDF_SCHEME
sourcefn from(key_derivation_function_scheme: KeyDerivationFunctionScheme) -> Self
fn from(key_derivation_function_scheme: KeyDerivationFunctionScheme) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<KeyDerivationFunctionScheme> for KeyDerivationFunctionScheme
impl PartialEq<KeyDerivationFunctionScheme> for KeyDerivationFunctionScheme
sourcefn eq(&self, other: &KeyDerivationFunctionScheme) -> bool
fn eq(&self, other: &KeyDerivationFunctionScheme) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &KeyDerivationFunctionScheme) -> bool
fn ne(&self, other: &KeyDerivationFunctionScheme) -> bool
This method tests for !=.
impl Copy for KeyDerivationFunctionScheme
impl Eq for KeyDerivationFunctionScheme
impl StructuralEq for KeyDerivationFunctionScheme
impl StructuralPartialEq for KeyDerivationFunctionScheme
Auto Trait Implementations
impl RefUnwindSafe for KeyDerivationFunctionScheme
impl Send for KeyDerivationFunctionScheme
impl Sync for KeyDerivationFunctionScheme
impl Unpin for KeyDerivationFunctionScheme
impl UnwindSafe for KeyDerivationFunctionScheme
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more