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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Drops the content pointed by this pointer and frees it. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.