Enum Tpm2ErrFmt1
#[non_exhaustive]pub enum Tpm2ErrFmt1 {
Show 34 variants
Asymmetric,
Attributes,
Hash,
Value,
Hierarchy,
KeySize,
Mgf,
Mode,
Type,
Handle,
Kdf,
Range,
AuthFail,
Nonce,
PP,
Scheme,
Size,
Symmetric,
Tag,
Selector,
Insufficient,
Signature,
Key,
PolicyFail,
Integrity,
Ticket,
ReservedBits,
BadAuth,
Expired,
PolicyCC,
Binding,
Curve,
EccPoint,
Unknown(u32),
}Expand description
TPM 2.0 “format one” response codes.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Asymmetric
Attributes
Hash
Value
Hierarchy
KeySize
Mgf
Mode
Type
Handle
Kdf
Range
AuthFail
Nonce
PP
Scheme
Size
Symmetric
Tag
Selector
Insufficient
Signature
Key
PolicyFail
Integrity
Ticket
ReservedBits
BadAuth
Expired
PolicyCC
Binding
Curve
EccPoint
Unknown(u32)
Trait Implementations§
§impl Clone for Tpm2ErrFmt1
impl Clone for Tpm2ErrFmt1
§fn clone(&self) -> Tpm2ErrFmt1
fn clone(&self) -> Tpm2ErrFmt1
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 more§impl Debug for Tpm2ErrFmt1
impl Debug for Tpm2ErrFmt1
§impl Hash for Tpm2ErrFmt1
impl Hash for Tpm2ErrFmt1
§impl Ord for Tpm2ErrFmt1
impl Ord for Tpm2ErrFmt1
§impl PartialEq for Tpm2ErrFmt1
impl PartialEq for Tpm2ErrFmt1
§impl PartialOrd for Tpm2ErrFmt1
impl PartialOrd for Tpm2ErrFmt1
impl Copy for Tpm2ErrFmt1
impl Eq for Tpm2ErrFmt1
impl StructuralPartialEq for Tpm2ErrFmt1
Auto Trait Implementations§
impl Freeze for Tpm2ErrFmt1
impl RefUnwindSafe for Tpm2ErrFmt1
impl Send for Tpm2ErrFmt1
impl Sync for Tpm2ErrFmt1
impl Unpin for Tpm2ErrFmt1
impl UnwindSafe for Tpm2ErrFmt1
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