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
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
Trait Implementations
sourceimpl Clone for Tss2ResponseCodeKind
impl Clone for Tss2ResponseCodeKind
sourcefn clone(&self) -> Tss2ResponseCodeKind
fn clone(&self) -> Tss2ResponseCodeKind
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Tss2ResponseCodeKind
impl Debug for Tss2ResponseCodeKind
impl Copy for Tss2ResponseCodeKind
impl StructuralPartialEq for Tss2ResponseCodeKind
Auto Trait Implementations
impl RefUnwindSafe for Tss2ResponseCodeKind
impl Send for Tss2ResponseCodeKind
impl Sync for Tss2ResponseCodeKind
impl Unpin for Tss2ResponseCodeKind
impl UnwindSafe for Tss2ResponseCodeKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more