[][src]Enum grin_wallet::ErrorKind

pub enum ErrorKind {
    LibTX(ErrorKind),
    LibWallet(ErrorKindString),
    Keychain(Error),
    Transaction(Error),
    Secp,
    FileWallet(&'static str),
    IO,
    Format,
    Node(ErrorKind),
    Hyper,
    Uri,
    DuplicateTransactionId,
    WalletSeedExists(String),
    WalletSeedDoesntExist,
    Encryption,
    Mnemonic,
    GenericError(String),
}

Wallet errors, mostly wrappers around underlying crypto or I/O errors.

Variants

LibTX Error

LibWallet Error

Keychain error

Transaction Error

Secp Error

Filewallet error

Error when formatting json

Error when formatting json

Error when contacting a node through its API

Error originating from hyper.

Error originating from hyper uri parsing.

Attempt to use duplicate transaction id in separate transactions

Wallet seed already exists

Wallet seed doesn't exist

Enc/Decryption Error

BIP 39 word list

Other

Trait Implementations

impl Clone for ErrorKind
[src]

Performs copy-assignment from source. Read more

impl From<ErrorKind> for Error
[src]

impl Eq for ErrorKind
[src]

impl PartialEq<ErrorKind> for ErrorKind
[src]

impl Debug for ErrorKind
[src]

impl Display for ErrorKind
[src]

impl Fail for ErrorKind
[src]

Provides context for this failure. Read more

Wraps this failure in a compatibility wrapper that implements std::error::Error. Read more

Auto Trait Implementations

impl Send for ErrorKind

impl Sync for ErrorKind

Blanket Implementations

impl<T> From for T
[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

impl<T> AsFail for T where
    T: Fail
[src]

impl<E> Fail for E where
    E: 'static + Error + Send + Sync
[src]

Returns a reference to the underlying cause of this failure, if it is an error that wraps other errors. Read more

Returns a reference to the Backtrace carried by this failure, if it carries one. Read more

Provides context for this failure. Read more

Wraps this failure in a compatibility wrapper that implements std::error::Error. Read more

impl<Q, K> Equivalent for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> Erased for T

impl<T> DebugAny for T where
    T: Any + Debug

impl<T> CloneAny for T where
    T: Clone + Any

impl<T> UnsafeAny for T where
    T: Any

impl<T> Same for T

Should always be Self

impl<T> SafeBorrow for T where
    T: ?Sized

impl<'a, T> DefaultFeatures for T where
    T: 'a + Send + Sync + Clone

impl<'a, T> NonSyncFeatures for T where
    T: 'a + Clone