Enum ethers::signers::yubihsm::client::ErrorKind [−][src]
pub enum ErrorKind {
AuthenticationError,
ClosedSessionError,
ConnectorError,
CreateFailed,
DeviceError,
ProtocolError,
ResponseError,
}
Expand description
Client error kinds
Variants
AuthenticationError
Couldn’t authenticate session
ClosedSessionError
Session is closed
ConnectorError
Errors with the connection to the HSM
CreateFailed
Couldn’t create session
DeviceError
Errors originating in the HSM device
ProtocolError
Protocol error occurred
ResponseError
Error response from HSM we can’t further specify
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