Enum tss_esapi::constants::response_code::Tss2ResponseCode
source · [−]pub enum Tss2ResponseCode {
Success,
FormatZero(FormatZeroResponseCode),
FormatOne(FormatOneResponseCode),
}
Expand description
Rust native representation of the TSS2 response codes as defined in the spec.
Variants
Success
FormatZero(FormatZeroResponseCode)
FormatOne(FormatOneResponseCode)
Implementations
Check whether the response code is successful
Get the error code as an enum variant.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for Tss2ResponseCode
impl Send for Tss2ResponseCode
impl Sync for Tss2ResponseCode
impl Unpin for Tss2ResponseCode
impl UnwindSafe for Tss2ResponseCode
Blanket Implementations
Mutably borrows from an owned value. Read more