Enum yubico_manager::yubicoerror::YubicoError [−][src]
pub enum YubicoError {
IOError(ioError),
UsbError(usbError),
CommandNotSupported,
DeviceNotFound,
OpenDeviceError,
CanNotWriteToDevice,
WrongCRC,
ConfigNotWritten,
}
Variants
Tuple Fields of IOError
0: ioError
Tuple Fields of UsbError
0: usbError
Trait Implementations
👎 Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
The lower-level source of this error, if any. Read more
🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
Performs the conversion.
Performs the conversion.