pub enum SymmetricObject {
Tdes,
Aes,
Sm4,
Camellia,
Null,
}
Expand description
Enum repsenting the symmetric object inetrface type.
§Details
This corresponds to TPMI_ALG_SYM_OBJECT
Variants§
Trait Implementations§
source§impl Clone for SymmetricObject
impl Clone for SymmetricObject
source§fn clone(&self) -> SymmetricObject
fn clone(&self) -> SymmetricObject
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 SymmetricObject
impl Debug for SymmetricObject
source§impl From<SymmetricObject> for AlgorithmIdentifier
impl From<SymmetricObject> for AlgorithmIdentifier
source§fn from(symmetric_object: SymmetricObject) -> Self
fn from(symmetric_object: SymmetricObject) -> Self
Converts to this type from the input type.
source§impl From<SymmetricObject> for TPMI_ALG_SYM_OBJECT
impl From<SymmetricObject> for TPMI_ALG_SYM_OBJECT
source§fn from(symmetric_object: SymmetricObject) -> Self
fn from(symmetric_object: SymmetricObject) -> Self
Converts to this type from the input type.
source§impl Hash for SymmetricObject
impl Hash for SymmetricObject
source§impl PartialEq for SymmetricObject
impl PartialEq for SymmetricObject
source§fn eq(&self, other: &SymmetricObject) -> bool
fn eq(&self, other: &SymmetricObject) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<AlgorithmIdentifier> for SymmetricObject
impl TryFrom<AlgorithmIdentifier> for SymmetricObject
source§impl TryFrom<u16> for SymmetricObject
impl TryFrom<u16> for SymmetricObject
impl Copy for SymmetricObject
impl Eq for SymmetricObject
impl StructuralPartialEq for SymmetricObject
Auto Trait Implementations§
impl Freeze for SymmetricObject
impl RefUnwindSafe for SymmetricObject
impl Send for SymmetricObject
impl Sync for SymmetricObject
impl Unpin for SymmetricObject
impl UnwindSafe for SymmetricObject
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