Enum ethers_signers::TrezorError
source · pub enum TrezorError {
TrezorError(Error),
FeaturesError,
DataError,
HexError(FromHexError),
SemVerError(Error),
UnsupportedFirmwareVersion(String),
NoENSSupport,
CacheError(String),
}
Expand description
Error when using the Trezor transport
Variants
TrezorError(Error)
Underlying Trezor transport error
FeaturesError
DataError
HexError(FromHexError)
Error when converting from a hex string
SemVerError(Error)
Error when converting a semver requirement
UnsupportedFirmwareVersion(String)
Error when signing EIP712 struct with not compatible Trezor ETH app
NoENSSupport
CacheError(String)
Trait Implementations
sourceimpl Debug for TrezorError
impl Debug for TrezorError
sourceimpl Display for TrezorError
impl Display for TrezorError
sourceimpl Error for TrezorError
impl Error for TrezorError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<Error> for TrezorError
impl From<Error> for TrezorError
sourceimpl From<Error> for TrezorError
impl From<Error> for TrezorError
sourceimpl From<FromHexError> for TrezorError
impl From<FromHexError> for TrezorError
sourcefn from(source: FromHexError) -> Self
fn from(source: FromHexError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for TrezorError
impl Send for TrezorError
impl Sync for TrezorError
impl Unpin for TrezorError
impl !UnwindSafe for TrezorError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more