[][src]Enum tari_key_manager::mnemonic::MnemonicError

pub enum MnemonicError {
    UnknownLanguage,
    WordNotFound,
    IndexOutOfBounds,
    ByteArrayError(ByteArrayError),
    ConversionProblem,
}

The Mnemonic system simplifies the encoding and decoding of a secret key into and from a Mnemonic word sequence It can autodetect the language of the Mnemonic word sequence

Variants

UnknownLanguage
WordNotFound
IndexOutOfBounds
ByteArrayError(ByteArrayError)
ConversionProblem

Trait Implementations

impl Debug for MnemonicError[src]

impl Display for MnemonicError[src]

impl Error for MnemonicError[src]

impl From<ByteArrayError> for MnemonicError[src]

impl From<MnemonicError> for KeyManagerError[src]

impl PartialEq<MnemonicError> for MnemonicError[src]

impl StructuralPartialEq for MnemonicError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> Cast<U> for T where
    U: FromCast<T>, 

impl<T> From<T> for T[src]

impl<T> FromBits<T> for T

impl<T> FromCast<T> for T

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> IntoBits<U> for T where
    U: FromBits<T>, 

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,