Enum tss_esapi::interface_types::algorithm::SymmetricMode
source · pub enum SymmetricMode {
Ctr,
Ofb,
Cbc,
Cfb,
Ecb,
Null,
}
Expand description
Variants§
Trait Implementations§
source§impl Clone for SymmetricMode
impl Clone for SymmetricMode
source§fn clone(&self) -> SymmetricMode
fn clone(&self) -> SymmetricMode
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 SymmetricMode
impl Debug for SymmetricMode
source§impl From<SymmetricMode> for AlgorithmIdentifier
impl From<SymmetricMode> for AlgorithmIdentifier
source§fn from(symmetric_mode: SymmetricMode) -> Self
fn from(symmetric_mode: SymmetricMode) -> Self
Converts to this type from the input type.
source§impl From<SymmetricMode> for TPMI_ALG_SYM_MODE
impl From<SymmetricMode> for TPMI_ALG_SYM_MODE
source§fn from(symmetric_mode: SymmetricMode) -> Self
fn from(symmetric_mode: SymmetricMode) -> Self
Converts to this type from the input type.
source§impl Hash for SymmetricMode
impl Hash for SymmetricMode
source§impl PartialEq<SymmetricMode> for SymmetricMode
impl PartialEq<SymmetricMode> for SymmetricMode
source§fn eq(&self, other: &SymmetricMode) -> bool
fn eq(&self, other: &SymmetricMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<AlgorithmIdentifier> for SymmetricMode
impl TryFrom<AlgorithmIdentifier> for SymmetricMode
source§fn try_from(algorithm_identifier: AlgorithmIdentifier) -> Result<SymmetricMode>
fn try_from(algorithm_identifier: AlgorithmIdentifier) -> Result<SymmetricMode>
Performs the conversion.
source§impl TryFrom<u16> for SymmetricMode
impl TryFrom<u16> for SymmetricMode
impl Copy for SymmetricMode
impl Eq for SymmetricMode
impl StructuralEq for SymmetricMode
impl StructuralPartialEq for SymmetricMode
Auto Trait Implementations§
impl RefUnwindSafe for SymmetricMode
impl Send for SymmetricMode
impl Sync for SymmetricMode
impl Unpin for SymmetricMode
impl UnwindSafe for SymmetricMode
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