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