Enum tss_esapi::WrapperErrorKind [−][src]
pub enum WrapperErrorKind { WrongParamSize, ParamsMissing, InconsistentParams, UnsupportedParam, InvalidParam, WrongValueFromTpm, MissingAuthSession, InvalidHandleState, }
Expand description
List of error types that might occur in the wrapper.
Variants
Returned when a size or length-defined parameter does not conform with the size restrictions for it.
Returned when a required parameter was not passed, usually to a builder.
Returned when two or more parameters have inconsistent values or variants.
Returned when the value of a parameter is not yet supported.
Returend when the value of a parameter is invalid for that type.
Returned when the TPM returns an invalid value from a call.
Returned when a session for authentication has not been set before the call is made.
Returned when a handle is required to be in a specific state (i.g. Open, Flushed, Closed) but it is not.
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