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