pub enum WalletError {
MnemonicsError(MnemonicError),
EntropyError(EntropyError),
UnknownWordCount(usize),
}Variants§
Trait Implementations§
Source§impl Debug for WalletError
impl Debug for WalletError
Source§impl Display for WalletError
impl Display for WalletError
Source§impl Error for WalletError
impl Error for WalletError
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<EntropyError> for WalletError
impl From<EntropyError> for WalletError
Source§fn from(source: EntropyError) -> Self
fn from(source: EntropyError) -> Self
Converts to this type from the input type.
Source§impl From<MnemonicError> for WalletError
impl From<MnemonicError> for WalletError
Source§fn from(source: MnemonicError) -> Self
fn from(source: MnemonicError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WalletError
impl RefUnwindSafe for WalletError
impl Send for WalletError
impl Sync for WalletError
impl Unpin for WalletError
impl UnwindSafe for WalletError
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