pub enum HashingAlgorithm {
Sha1,
Sha256,
Sha384,
Sha512,
Sm3_256,
Sha3_256,
Sha3_384,
Sha3_512,
Null,
}Expand description
Enum containing the supported hash algorithms
§Details
This corresponds to TPMI_ALG_HASH interface type.
Variants§
Trait Implementations§
Source§impl Clone for HashingAlgorithm
impl Clone for HashingAlgorithm
Source§fn clone(&self) -> HashingAlgorithm
fn clone(&self) -> HashingAlgorithm
Returns a duplicate 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 HashingAlgorithm
impl Debug for HashingAlgorithm
Source§impl Hash for HashingAlgorithm
impl Hash for HashingAlgorithm
Source§impl PartialEq for HashingAlgorithm
impl PartialEq for HashingAlgorithm
Source§impl TryFrom<u16> for HashingAlgorithm
impl TryFrom<u16> for HashingAlgorithm
impl Copy for HashingAlgorithm
impl Eq for HashingAlgorithm
impl StructuralPartialEq for HashingAlgorithm
Auto Trait Implementations§
impl Freeze for HashingAlgorithm
impl RefUnwindSafe for HashingAlgorithm
impl Send for HashingAlgorithm
impl Sync for HashingAlgorithm
impl Unpin for HashingAlgorithm
impl UnwindSafe for HashingAlgorithm
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