Enum Tpm2Warning
#[non_exhaustive]pub enum Tpm2Warning {
Show 29 variants
ContextGap,
ObjectMemory,
SessionMemory,
Memory,
SessionHandles,
ObjectHandles,
Locality,
Yielded,
Cancelled,
Testing,
ReferenceH0,
ReferenceH1,
ReferenceH2,
ReferenceH3,
ReferenceH4,
ReferenceH5,
ReferenceH6,
ReferenceS0,
ReferenceS1,
ReferenceS2,
ReferenceS3,
ReferenceS4,
ReferenceS5,
ReferenceS6,
NvRate,
Lockout,
Retry,
NvUnavailable,
Other(u32),
}Expand description
TPM 2.0 “warning” 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.
ContextGap
ObjectMemory
SessionMemory
Memory
SessionHandles
ObjectHandles
Locality
Yielded
Cancelled
Testing
ReferenceH0
ReferenceH1
ReferenceH2
ReferenceH3
ReferenceH4
ReferenceH5
ReferenceH6
ReferenceS0
ReferenceS1
ReferenceS2
ReferenceS3
ReferenceS4
ReferenceS5
ReferenceS6
NvRate
Lockout
Retry
Other(u32)
Trait Implementations§
§impl Clone for Tpm2Warning
impl Clone for Tpm2Warning
§fn clone(&self) -> Tpm2Warning
fn clone(&self) -> Tpm2Warning
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 Tpm2Warning
impl Debug for Tpm2Warning
§impl Hash for Tpm2Warning
impl Hash for Tpm2Warning
§impl Ord for Tpm2Warning
impl Ord for Tpm2Warning
§impl PartialEq for Tpm2Warning
impl PartialEq for Tpm2Warning
§impl PartialOrd for Tpm2Warning
impl PartialOrd for Tpm2Warning
impl Copy for Tpm2Warning
impl Eq for Tpm2Warning
impl StructuralPartialEq for Tpm2Warning
Auto Trait Implementations§
impl Freeze for Tpm2Warning
impl RefUnwindSafe for Tpm2Warning
impl Send for Tpm2Warning
impl Sync for Tpm2Warning
impl Unpin for Tpm2Warning
impl UnwindSafe for Tpm2Warning
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