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