[][src]Enum tss_esapi::constants::response_code::Tss2ResponseCode

pub enum Tss2ResponseCode {
    Success,
    FormatZero(FormatZeroResponseCode),
    FormatOne(FormatOneResponseCode),
}

Rust native representation of the TSS2 response codes as defined in the spec.

Variants

Success

Implementations

impl Tss2ResponseCode[src]

pub fn is_success(self) -> bool[src]

Check whether the response code is successful

pub fn kind(self) -> Option<Tss2ResponseCodeKind>[src]

Get the error code as an enum variant.

Trait Implementations

impl Clone for Tss2ResponseCode[src]

impl Copy for Tss2ResponseCode[src]

impl Debug for Tss2ResponseCode[src]

impl Display for Tss2ResponseCode[src]

impl Error for Tss2ResponseCode[src]

impl From<u32> for Tss2ResponseCode[src]

impl PartialEq<Tss2ResponseCode> for Tss2ResponseCode[src]

impl StructuralPartialEq for Tss2ResponseCode[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.