pub enum TpmErrorKind {
Show 38 variants
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,
}Expand description
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
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ErrorKind
impl RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnwindSafe for ErrorKind
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