pub enum Tss2ResponseCodeKind {
Show 97 variants
Success,
TpmVendorSpecific,
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,
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,
ContextGap,
ObjectMemory,
SessionMemory,
Memory,
SessionHandles,
ObjectHandles,
Locality,
Yielded,
Canceled,
Testing,
ReferenceH0,
ReferenceH1,
ReferenceH2,
ReferenceH3,
ReferenceH4,
ReferenceH5,
ReferenceH6,
ReferenceS0,
ReferenceS1,
ReferenceS2,
ReferenceS3,
ReferenceS4,
ReferenceS5,
ReferenceS6,
NvRate,
Lockout,
Retry,
NvUnavailable,
}
Expand description
Rust enum representation of TSS 2 error codes.
Variants§
Success
TpmVendorSpecific
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
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
ContextGap
ObjectMemory
SessionMemory
Memory
SessionHandles
ObjectHandles
Locality
Yielded
Canceled
Testing
ReferenceH0
ReferenceH1
ReferenceH2
ReferenceH3
ReferenceH4
ReferenceH5
ReferenceH6
ReferenceS0
ReferenceS1
ReferenceS2
ReferenceS3
ReferenceS4
ReferenceS5
ReferenceS6
NvRate
Lockout
Retry
Trait Implementations§
source§impl Clone for Tss2ResponseCodeKind
impl Clone for Tss2ResponseCodeKind
source§fn clone(&self) -> Tss2ResponseCodeKind
fn clone(&self) -> Tss2ResponseCodeKind
Returns a copy 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 Tss2ResponseCodeKind
impl Debug for Tss2ResponseCodeKind
source§impl PartialEq for Tss2ResponseCodeKind
impl PartialEq for Tss2ResponseCodeKind
source§fn eq(&self, other: &Tss2ResponseCodeKind) -> bool
fn eq(&self, other: &Tss2ResponseCodeKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Tss2ResponseCodeKind
impl Eq for Tss2ResponseCodeKind
impl StructuralPartialEq for Tss2ResponseCodeKind
Auto Trait Implementations§
impl Freeze for Tss2ResponseCodeKind
impl RefUnwindSafe for Tss2ResponseCodeKind
impl Send for Tss2ResponseCodeKind
impl Sync for Tss2ResponseCodeKind
impl Unpin for Tss2ResponseCodeKind
impl UnwindSafe for Tss2ResponseCodeKind
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