Enum tss_esapi::interface_types::algorithm::SymmetricMode
source · [−]pub enum SymmetricMode {
Ctr,
Ofb,
Cbc,
Cfb,
Ecb,
Null,
}
Expand description
Variants
Ctr
Ofb
Cbc
Cfb
Ecb
Null
Trait Implementations
sourceimpl Clone for SymmetricMode
impl Clone for SymmetricMode
sourcefn clone(&self) -> SymmetricMode
fn clone(&self) -> SymmetricMode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SymmetricMode
impl Debug for SymmetricMode
sourceimpl From<SymmetricMode> for AlgorithmIdentifier
impl From<SymmetricMode> for AlgorithmIdentifier
sourcefn from(symmetric_mode: SymmetricMode) -> Self
fn from(symmetric_mode: SymmetricMode) -> Self
Performs the conversion.
sourceimpl From<SymmetricMode> for TPMI_ALG_SYM_MODE
impl From<SymmetricMode> for TPMI_ALG_SYM_MODE
sourcefn from(symmetric_mode: SymmetricMode) -> Self
fn from(symmetric_mode: SymmetricMode) -> Self
Performs the conversion.
sourceimpl Hash for SymmetricMode
impl Hash for SymmetricMode
sourceimpl PartialEq<SymmetricMode> for SymmetricMode
impl PartialEq<SymmetricMode> for SymmetricMode
sourceimpl TryFrom<AlgorithmIdentifier> for SymmetricMode
impl TryFrom<AlgorithmIdentifier> for SymmetricMode
sourcefn try_from(algorithm_identifier: AlgorithmIdentifier) -> Result<SymmetricMode>
fn try_from(algorithm_identifier: AlgorithmIdentifier) -> Result<SymmetricMode>
Performs the conversion.
sourceimpl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more