pub enum PublicAlgorithm {
Rsa,
KeyedHash,
Ecc,
SymCipher,
}
Expand description
Variants§
Trait Implementations§
source§impl Clone for PublicAlgorithm
impl Clone for PublicAlgorithm
source§fn clone(&self) -> PublicAlgorithm
fn clone(&self) -> PublicAlgorithm
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 PublicAlgorithm
impl Debug for PublicAlgorithm
source§impl From<PublicAlgorithm> for AlgorithmIdentifier
impl From<PublicAlgorithm> for AlgorithmIdentifier
source§fn from(public_algorithm: PublicAlgorithm) -> Self
fn from(public_algorithm: PublicAlgorithm) -> Self
Converts to this type from the input type.
source§impl From<PublicAlgorithm> for TPMI_ALG_PUBLIC
impl From<PublicAlgorithm> for TPMI_ALG_PUBLIC
source§fn from(public_algorithm: PublicAlgorithm) -> Self
fn from(public_algorithm: PublicAlgorithm) -> Self
Converts to this type from the input type.
source§impl Hash for PublicAlgorithm
impl Hash for PublicAlgorithm
source§impl PartialEq for PublicAlgorithm
impl PartialEq for PublicAlgorithm
source§fn eq(&self, other: &PublicAlgorithm) -> bool
fn eq(&self, other: &PublicAlgorithm) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<AlgorithmIdentifier> for PublicAlgorithm
impl TryFrom<AlgorithmIdentifier> for PublicAlgorithm
source§impl TryFrom<u16> for PublicAlgorithm
impl TryFrom<u16> for PublicAlgorithm
impl Copy for PublicAlgorithm
impl Eq for PublicAlgorithm
impl StructuralPartialEq for PublicAlgorithm
Auto Trait Implementations§
impl Freeze for PublicAlgorithm
impl RefUnwindSafe for PublicAlgorithm
impl Send for PublicAlgorithm
impl Sync for PublicAlgorithm
impl Unpin for PublicAlgorithm
impl UnwindSafe for PublicAlgorithm
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