pub struct TpmaAlgorithm(/* private fields */);Expand description
TPMA_ALGORITHM
Implementations§
Source§impl TpmaAlgorithm
impl TpmaAlgorithm
Sourcepub const ASYMMETRIC: Self
pub const ASYMMETRIC: Self
TPMA_ALGORITHM_ASYMMETRIC
Sourcepub const ENCRYPTING: Self
pub const ENCRYPTING: Self
TPMA_ALGORITHM_ENCRYPTING
Sourcepub const RSA_KEY_SIZES_1024: Self
pub const RSA_KEY_SIZES_1024: Self
TPMA_ALGORITHM_RSA_KEY_SIZES_1024
Sourcepub const RSA_KEY_SIZES_2048: Self
pub const RSA_KEY_SIZES_2048: Self
TPMA_ALGORITHM_RSA_KEY_SIZES_2048
Sourcepub const RSA_KEY_SIZES_3072: Self
pub const RSA_KEY_SIZES_3072: Self
TPMA_ALGORITHM_RSA_KEY_SIZES_3072
Sourcepub const RSA_KEY_SIZES_4096: Self
pub const RSA_KEY_SIZES_4096: Self
TPMA_ALGORITHM_RSA_KEY_SIZES_4096
pub const fn bits(&self) -> u32
pub const fn from_bits_truncate(bits: u32) -> Self
pub const fn empty() -> Self
pub const fn contains(&self, other: Self) -> bool
Trait Implementations§
Source§impl BitOr for TpmaAlgorithm
impl BitOr for TpmaAlgorithm
Source§impl BitOrAssign for TpmaAlgorithm
impl BitOrAssign for TpmaAlgorithm
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl Clone for TpmaAlgorithm
impl Clone for TpmaAlgorithm
Source§fn clone(&self) -> TpmaAlgorithm
fn clone(&self) -> TpmaAlgorithm
Returns a duplicate 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 TpmaAlgorithm
impl Debug for TpmaAlgorithm
Source§impl Default for TpmaAlgorithm
impl Default for TpmaAlgorithm
Source§fn default() -> TpmaAlgorithm
fn default() -> TpmaAlgorithm
Returns the “default value” for a type. Read more
Source§impl Hash for TpmaAlgorithm
impl Hash for TpmaAlgorithm
Source§impl Ord for TpmaAlgorithm
impl Ord for TpmaAlgorithm
Source§fn cmp(&self, other: &TpmaAlgorithm) -> Ordering
fn cmp(&self, other: &TpmaAlgorithm) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TpmaAlgorithm
impl PartialEq for TpmaAlgorithm
Source§impl PartialOrd for TpmaAlgorithm
impl PartialOrd for TpmaAlgorithm
Source§impl TpmBuild for TpmaAlgorithm
impl TpmBuild for TpmaAlgorithm
Source§impl<'a> TpmParse<'a> for TpmaAlgorithm
impl<'a> TpmParse<'a> for TpmaAlgorithm
Source§impl TpmSized for TpmaAlgorithm
impl TpmSized for TpmaAlgorithm
impl Copy for TpmaAlgorithm
impl Eq for TpmaAlgorithm
impl StructuralPartialEq for TpmaAlgorithm
Auto Trait Implementations§
impl Freeze for TpmaAlgorithm
impl RefUnwindSafe for TpmaAlgorithm
impl Send for TpmaAlgorithm
impl Sync for TpmaAlgorithm
impl Unpin for TpmaAlgorithm
impl UnwindSafe for TpmaAlgorithm
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