Enum tss_sapi::TpmErrorKind
[−]
pub enum TpmErrorKind { Msg(String), Asymmetric, Attributes, AuthFail, BadAuth, Disabled, Failure, Exclusive, FormatOne(u32), FormatZero(u32), Handle, Hash, Hierarchy, Initialize, Insufficient, Kdf, Key, KeySize, Mgf, Mode, Nonce, NvAuthorization, NvDefined, NvLocked, NvSpace, NvUnavailable, PhysicalPresence, PolicyFail, Range, Reboot, Scheme, Selector, Signature, Size, Symmetric, Tag, Type, Value, }
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
Asymmetric
Attributes
AuthFail
BadAuth
Disabled
Failure
Exclusive
FormatOne(u32)
FormatZero(u32)
Handle
Hash
Hierarchy
Initialize
Insufficient
Kdf
Key
KeySize
Mgf
Mode
Nonce
NvAuthorization
NvDefined
NvLocked
NvSpace
PhysicalPresence
PolicyFail
Range
Reboot
Scheme
Selector
Signature
Size
Symmetric
Tag
Type
Value
Methods
impl ErrorKind
fn description(&self) -> &str
A string describing the error kind.