[][src]Enum tss_esapi::WrapperErrorKind

pub enum WrapperErrorKind {
    WrongParamSize,
    ParamsMissing,
    InconsistentParams,
    UnsupportedParam,
    InvalidParam,
    WrongValueFromTpm,
}

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

Returend when the value of a parameter is invalid for that type.

WrongValueFromTpm

Returned when the TPM returns an invalid value from a call.

Trait Implementations

impl Clone for WrapperErrorKind[src]

impl Copy for WrapperErrorKind[src]

impl Debug for WrapperErrorKind[src]

impl Display for WrapperErrorKind[src]

impl Error for WrapperErrorKind[src]

impl PartialEq<WrapperErrorKind> for WrapperErrorKind[src]

impl StructuralPartialEq for WrapperErrorKind[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Free for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.