Struct tss_esapi::structures::HashScheme
source · [−]pub struct HashScheme { /* private fields */ }Expand description
Struct for holding the hash scheme
Implementations
sourceimpl HashScheme
impl HashScheme
sourcepub const fn new(hashing_algorithm: HashingAlgorithm) -> HashScheme
pub const fn new(hashing_algorithm: HashingAlgorithm) -> HashScheme
Creates a new HashScheme
sourcepub const fn hashing_algorithm(&self) -> HashingAlgorithm
pub const fn hashing_algorithm(&self) -> HashingAlgorithm
Returns the hashing algorithm
Trait Implementations
sourceimpl Clone for HashScheme
impl Clone for HashScheme
sourcefn clone(&self) -> HashScheme
fn clone(&self) -> HashScheme
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 HashScheme
impl Debug for HashScheme
sourceimpl From<HashScheme> for TPMS_SCHEME_HASH
impl From<HashScheme> for TPMS_SCHEME_HASH
sourcefn from(hash_scheme: HashScheme) -> Self
fn from(hash_scheme: HashScheme) -> Self
Converts to this type from the input type.
sourceimpl From<HashScheme> for HmacScheme
impl From<HashScheme> for HmacScheme
sourcefn from(hash_scheme: HashScheme) -> Self
fn from(hash_scheme: HashScheme) -> Self
Converts to this type from the input type.
sourceimpl From<HmacScheme> for HashScheme
impl From<HmacScheme> for HashScheme
sourcefn from(hmac_scheme: HmacScheme) -> Self
fn from(hmac_scheme: HmacScheme) -> Self
Converts to this type from the input type.
sourceimpl Hash for HashScheme
impl Hash for HashScheme
sourceimpl PartialEq<HashScheme> for HashScheme
impl PartialEq<HashScheme> for HashScheme
sourcefn eq(&self, other: &HashScheme) -> bool
fn eq(&self, other: &HashScheme) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &HashScheme) -> bool
fn ne(&self, other: &HashScheme) -> bool
This method tests for !=.
sourceimpl TryFrom<TPMS_SCHEME_HASH> for HashScheme
impl TryFrom<TPMS_SCHEME_HASH> for HashScheme
impl Copy for HashScheme
impl Eq for HashScheme
impl StructuralEq for HashScheme
impl StructuralPartialEq for HashScheme
Auto Trait Implementations
impl RefUnwindSafe for HashScheme
impl Send for HashScheme
impl Sync for HashScheme
impl Unpin for HashScheme
impl UnwindSafe for HashScheme
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