Struct tss_esapi::structures::HashScheme
source · pub struct HashScheme { /* private fields */ }
Expand description
Struct for holding the hash scheme
Implementations§
source§impl 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§
source§impl Clone for HashScheme
impl Clone for HashScheme
source§fn clone(&self) -> HashScheme
fn clone(&self) -> HashScheme
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 HashScheme
impl Debug for HashScheme
source§impl From<HashScheme> for HmacScheme
impl From<HashScheme> for HmacScheme
source§fn from(hash_scheme: HashScheme) -> Self
fn from(hash_scheme: HashScheme) -> Self
Converts to this type from the input type.
source§impl From<HashScheme> for TPMS_SCHEME_HASH
impl From<HashScheme> for TPMS_SCHEME_HASH
source§fn from(hash_scheme: HashScheme) -> Self
fn from(hash_scheme: HashScheme) -> Self
Converts to this type from the input type.
source§impl From<HmacScheme> for HashScheme
impl From<HmacScheme> for HashScheme
source§fn from(hmac_scheme: HmacScheme) -> Self
fn from(hmac_scheme: HmacScheme) -> Self
Converts to this type from the input type.
source§impl Hash for HashScheme
impl Hash for HashScheme
source§impl PartialEq for HashScheme
impl PartialEq for HashScheme
source§fn 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 ==
.source§impl TryFrom<TPMS_SCHEME_HASH> for HashScheme
impl TryFrom<TPMS_SCHEME_HASH> for HashScheme
impl Copy for HashScheme
impl Eq for HashScheme
impl StructuralPartialEq for HashScheme
Auto Trait Implementations§
impl Freeze for HashScheme
impl RefUnwindSafe for HashScheme
impl Send for HashScheme
impl Sync for HashScheme
impl Unpin for HashScheme
impl UnwindSafe for HashScheme
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