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

pub enum SessionErrorKind {
    AuthFail,
    ClosedSessionError,
    CreateFailed,
    DeviceError {
        kind: HsmErrorKind,
    },
    ProtocolError,
    ResponseError,
}

Session error kinds

Variants

Couldn't authenticate session

Session is closed

Couldn't create session

Errors originating in the HSM device

Fields of DeviceError

HSM error kind

Protocol error occurred

Error response from HSM we can't further specify

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