Enum ethers::signers::yubihsm::session::ErrorKind [−][src]
pub enum ErrorKind {
AuthenticationError,
ClosedError,
CommandLimitExceeded,
CreateFailed,
DeviceError,
MismatchError,
ProtocolError,
ResponseError,
VerifyFailed,
}
Expand description
Session error kinds
Variants
AuthenticationError
Couldn’t authenticate session
ClosedError
Session is closed
CommandLimitExceeded
Max command per session exceeded and a new session should be created
CreateFailed
Couldn’t create session
DeviceError
Errors originating in the HSM device
MismatchError
Message was intended for a different session than the current one
ProtocolError
Protocol error occurred
ResponseError
Error response from HSM we can’t further specify
VerifyFailed
MAC or cryptogram verify failed
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ErrorKind
impl UnwindSafe for ErrorKind
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more