Enum Tpm2ErrFmt0
#[non_exhaustive]pub enum Tpm2ErrFmt0 {
Show 35 variants
Initialize,
Failure,
Sequence,
Private,
Hmac,
Disabled,
Exclusive,
AuthType,
AuthMissing,
Policy,
Pcr,
PcrChanged,
Upgrade,
TooManyContexts,
AuthUnavailable,
Reboot,
Unbalanced,
CommandSize,
CommandCode,
AuthSize,
AuthContext,
NvRange,
NvSize,
NvLocked,
NvAuthorization,
NvUninitialized,
NvSpace,
NvDefined,
BadContext,
CpHash,
Parent,
NeedsTest,
NoResult,
Sensitive,
Unknown(u32),
}Expand description
TPM 2.0 “format zero” 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.
Initialize
Failure
Sequence
Private
Hmac
Disabled
Exclusive
AuthType
AuthMissing
Policy
Pcr
PcrChanged
Upgrade
TooManyContexts
Reboot
Unbalanced
CommandSize
CommandCode
AuthSize
AuthContext
NvRange
NvSize
NvLocked
NvAuthorization
NvUninitialized
NvSpace
NvDefined
BadContext
CpHash
Parent
NeedsTest
NoResult
Sensitive
Unknown(u32)
Trait Implementations§
§impl Clone for Tpm2ErrFmt0
impl Clone for Tpm2ErrFmt0
§fn clone(&self) -> Tpm2ErrFmt0
fn clone(&self) -> Tpm2ErrFmt0
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 Tpm2ErrFmt0
impl Debug for Tpm2ErrFmt0
§impl Hash for Tpm2ErrFmt0
impl Hash for Tpm2ErrFmt0
§impl Ord for Tpm2ErrFmt0
impl Ord for Tpm2ErrFmt0
§impl PartialEq for Tpm2ErrFmt0
impl PartialEq for Tpm2ErrFmt0
§impl PartialOrd for Tpm2ErrFmt0
impl PartialOrd for Tpm2ErrFmt0
impl Copy for Tpm2ErrFmt0
impl Eq for Tpm2ErrFmt0
impl StructuralPartialEq for Tpm2ErrFmt0
Auto Trait Implementations§
impl Freeze for Tpm2ErrFmt0
impl RefUnwindSafe for Tpm2ErrFmt0
impl Send for Tpm2ErrFmt0
impl Sync for Tpm2ErrFmt0
impl Unpin for Tpm2ErrFmt0
impl UnwindSafe for Tpm2ErrFmt0
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