pub enum CamelliaKeyBits {
Camellia128,
Camellia192,
Camellia256,
}
Expand description
Variants§
Trait Implementations§
source§impl Clone for CamelliaKeyBits
impl Clone for CamelliaKeyBits
source§fn clone(&self) -> CamelliaKeyBits
fn clone(&self) -> CamelliaKeyBits
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 CamelliaKeyBits
impl Debug for CamelliaKeyBits
source§impl From<CamelliaKeyBits> for TPM2_KEY_BITS
impl From<CamelliaKeyBits> for TPM2_KEY_BITS
source§fn from(camellia_key_bits: CamelliaKeyBits) -> TPM2_KEY_BITS
fn from(camellia_key_bits: CamelliaKeyBits) -> TPM2_KEY_BITS
Converts to this type from the input type.
source§impl Hash for CamelliaKeyBits
impl Hash for CamelliaKeyBits
source§impl PartialEq for CamelliaKeyBits
impl PartialEq for CamelliaKeyBits
source§fn eq(&self, other: &CamelliaKeyBits) -> bool
fn eq(&self, other: &CamelliaKeyBits) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u16> for CamelliaKeyBits
impl TryFrom<u16> for CamelliaKeyBits
source§fn try_from(tpmi_camellia_key_bits: TPM2_KEY_BITS) -> Result<CamelliaKeyBits>
fn try_from(tpmi_camellia_key_bits: TPM2_KEY_BITS) -> Result<CamelliaKeyBits>
Performs the conversion.
impl Copy for CamelliaKeyBits
impl Eq for CamelliaKeyBits
impl StructuralPartialEq for CamelliaKeyBits
Auto Trait Implementations§
impl Freeze for CamelliaKeyBits
impl RefUnwindSafe for CamelliaKeyBits
impl Send for CamelliaKeyBits
impl Sync for CamelliaKeyBits
impl Unpin for CamelliaKeyBits
impl UnwindSafe for CamelliaKeyBits
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