Enum yubihsm::session::SessionErrorKind [−][src]
pub enum SessionErrorKind { AuthFail, ClosedSessionError, CreateFailed, DeviceError { kind: HsmErrorKind, }, ProtocolError, ResponseError, }
Session error kinds
Variants
AuthFail
Couldn't authenticate session
ClosedSessionError
Session is closed
CreateFailed
Couldn't create session
DeviceError
Errors originating in the HSM device
Fields of DeviceError
kind: HsmErrorKind | HSM error kind |
ProtocolError
Protocol error occurred
ResponseError
Error response from HSM we can't further specify
Trait Implementations
impl Copy for SessionErrorKind
[src]
impl Copy for SessionErrorKind
impl Clone for SessionErrorKind
[src]
impl Clone for SessionErrorKind
fn clone(&self) -> SessionErrorKind
[src]
fn clone(&self) -> SessionErrorKind
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Eq for SessionErrorKind
[src]
impl Eq for SessionErrorKind
impl PartialEq for SessionErrorKind
[src]
impl PartialEq for SessionErrorKind
fn eq(&self, other: &SessionErrorKind) -> bool
[src]
fn eq(&self, other: &SessionErrorKind) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &SessionErrorKind) -> bool
[src]
fn ne(&self, other: &SessionErrorKind) -> bool
This method tests for !=
.
impl Debug for SessionErrorKind
[src]
impl Debug for SessionErrorKind
Auto Trait Implementations
impl Send for SessionErrorKind
impl Send for SessionErrorKind
impl Sync for SessionErrorKind
impl Sync for SessionErrorKind