Enum ethers::signers::coins_bip39::wordlist::WordlistError [−]
Expand description
The error type returned while interacting with wordists.
Variants
InvalidIndex(usize)
Tuple Fields
0: usize
Describes the error when the wordlist is queried at an invalid index.
InvalidWord(String)
Tuple Fields
0: String
Describes the error when the wordlist does not contain the queried word.
Trait Implementations
impl Debug for WordlistError
impl Debug for WordlistError
impl Display for WordlistError
impl Display for WordlistError
impl Error for WordlistError
impl Error for WordlistError
impl From<WordlistError> for MnemonicError
impl From<WordlistError> for MnemonicError
pub fn from(source: WordlistError) -> MnemonicError
pub fn from(source: WordlistError) -> MnemonicError
Performs the conversion.
impl PartialEq<WordlistError> for WordlistError
impl PartialEq<WordlistError> for WordlistError
pub fn eq(&self, other: &WordlistError) -> bool
pub fn eq(&self, other: &WordlistError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
pub fn ne(&self, other: &WordlistError) -> bool
pub fn ne(&self, other: &WordlistError) -> bool
This method tests for !=
.
impl StructuralPartialEq for WordlistError
Auto Trait Implementations
impl RefUnwindSafe for WordlistError
impl Send for WordlistError
impl Sync for WordlistError
impl Unpin for WordlistError
impl UnwindSafe for WordlistError
Blanket Implementations
Mutably borrows from an owned value. Read more
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