Enum yubihsm::session::SessionErrorKind [−][src]
pub enum SessionErrorKind { AuthFailed, ClosedSessionError, CreateFailed, ProtocolError, ResponseError, TimeoutError, }
Session error kinds
Variants
AuthFailed
Couldn't authenticate session
ClosedSessionError
Session is closed
CreateFailed
Couldn't create session
ProtocolError
Protocol error occurred
ResponseError
HSM returned an error response
TimeoutError
Session with the YubiHSM2 timed out
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: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]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