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