Enum tss_esapi::WrapperErrorKind
source · [−]pub enum WrapperErrorKind {
WrongParamSize,
ParamsMissing,
InconsistentParams,
UnsupportedParam,
InvalidParam,
WrongValueFromTpm,
MissingAuthSession,
InvalidHandleState,
InternalError,
}
Expand description
List of error types that might occur in the wrapper.
Variants
WrongParamSize
Returned when a size or length-defined parameter does not conform with the size restrictions for it.
ParamsMissing
Returned when a required parameter was not passed, usually to a builder.
InconsistentParams
Returned when two or more parameters have inconsistent values or variants.
UnsupportedParam
Returned when the value of a parameter is not yet supported.
InvalidParam
Returned when the value of a parameter is invalid for that type.
WrongValueFromTpm
Returned when the TPM returns an invalid value from a call.
MissingAuthSession
Returned when a session for authentication has not been set before the call is made.
InvalidHandleState
Returned when a handle is required to be in a specific state (i.g. Open, Flushed, Closed) but it is not.
InternalError
An unexpected internal error occurred.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for WrapperErrorKind
impl Send for WrapperErrorKind
impl Sync for WrapperErrorKind
impl Unpin for WrapperErrorKind
impl UnwindSafe for WrapperErrorKind
Blanket Implementations
Mutably borrows from an owned value. Read more