pub enum TerraRustWalletError {
KeyringError(KeyringErrorAdapter),
SerdeJsonError(Error),
KeyringErrorAdapter(Error),
TerraRustAPIError(TerraRustAPIError),
KeyNotFound {
key: String,
source: KeyringErrorAdapter,
},
Unknown,
}
Variants§
KeyringError(KeyringErrorAdapter)
SerdeJsonError(Error)
KeyringErrorAdapter(Error)
TerraRustAPIError(TerraRustAPIError)
KeyNotFound
Unknown
Trait Implementations§
Source§impl Debug for TerraRustWalletError
impl Debug for TerraRustWalletError
Source§impl Display for TerraRustWalletError
impl Display for TerraRustWalletError
Source§impl Error for TerraRustWalletError
impl Error for TerraRustWalletError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<Error> for TerraRustWalletError
impl From<Error> for TerraRustWalletError
Source§impl From<Error> for TerraRustWalletError
impl From<Error> for TerraRustWalletError
Source§impl From<KeyringErrorAdapter> for TerraRustWalletError
impl From<KeyringErrorAdapter> for TerraRustWalletError
Source§fn from(source: KeyringErrorAdapter) -> Self
fn from(source: KeyringErrorAdapter) -> Self
Converts to this type from the input type.
Source§impl From<TerraRustAPIError> for TerraRustWalletError
impl From<TerraRustAPIError> for TerraRustWalletError
Source§fn from(source: TerraRustAPIError) -> Self
fn from(source: TerraRustAPIError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TerraRustWalletError
impl !RefUnwindSafe for TerraRustWalletError
impl Send for TerraRustWalletError
impl Sync for TerraRustWalletError
impl Unpin for TerraRustWalletError
impl !UnwindSafe for TerraRustWalletError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more