Enum yubihsm::session::SessionErrorKind[][src]

pub enum SessionErrorKind {
    AuthFailed,
    CreateFailed,
    ProtocolError,
    ResponseError,
    TimeoutError,
}

Session error kinds

Variants

Couldn't authenticate session

Couldn't create session

Protocol error occurred

HSM returned an error response

Session with the YubiHSM2 timed out

Trait Implementations

impl Copy for SessionErrorKind
[src]

impl Clone for SessionErrorKind
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for SessionErrorKind
[src]

impl PartialEq for SessionErrorKind
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for SessionErrorKind
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations