pub struct TpmaAlgorithm(/* private fields */);Expand description
TPMA_ALGORITHM
Implementations§
Source§impl TpmaAlgorithm
impl TpmaAlgorithm
pub const ASYMMETRIC: Self
pub const SYMMETRIC: Self
pub const HASH: Self
pub const OBJECT: Self
pub const SIGNING: Self
pub const ENCRYPTING: Self
pub const METHOD: Self
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
pub fn flag_names(&self) -> impl Iterator<Item = &'static str> + '_
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 TpmParse for TpmaAlgorithm
impl TpmParse 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