[−][src]Enum grin_wallet_libwallet::ErrorKind
Wallet errors, mostly wrappers around underlying crypto or I/O errors.
Variants
NotEnoughFunds
Not enough funds
Fields of NotEnoughFunds
Fee(String)
Fee error
LibTX(ErrorKind)
LibTX Error
Keychain(Error)
Keychain error
Transaction(Error)
Transaction Error
ClientCallback(String)
API Error
Secp(Error)
Secp Error
CallbackImpl(&'static str)
Callback implementation error conversion
Backend(String)
Wallet backend error
Restore
Callback implementation error conversion
Format(String)
An error in the format of the JSON structures exchanged by the wallet
Deser(Error)
Other serialization errors
IO
IO Error
Node
Error when contacting a node through its API
WalletComms(String)
Error contacting wallet API
Hyper
Error originating from hyper.
Uri
Error originating from hyper uri parsing.
Signature(String)
Signature error
DuplicateTransactionId
Attempt to use duplicate transaction id in separate transactions
WalletSeedExists
Wallet seed already exists
WalletSeedDoesntExist
Wallet seed doesn't exist
WalletSeedDecryption
Wallet seed doesn't exist
TransactionDoesntExist(String)
Transaction doesn't exist
TransactionNotCancellable(String)
Transaction already rolled back
TransactionCancellationError(&'static str)
Cancellation error
TransactionDumpError(&'static str)
Cancellation error
TransactionAlreadyConfirmed
Attempt to repost a transaction that's already confirmed
TransactionAlreadyReceived(String)
Transaction has already been received
TransactionBuildingNotCompleted(u32)
Attempt to repost a transaction that's not completed and stored
InvalidBIP32Depth
Invalid BIP-32 Depth
AccountLabelAlreadyExists(String)
Attempt to add an account that exists
UnknownAccountLabel(String)
Reference unknown account label
Committed(Error)
Error from summing commitments via committed trait.
SlateVersionParse
Can't parse slate version
SlateSer
Can't serialize slate
SlateDeser
Can't deserialize slate
SlateVersion(u16)
Unknown slate version
Compatibility(String)
Compatibility error between incoming slate versions and what's expected
GenericError(String)
Other
Trait Implementations
impl PartialEq<ErrorKind> for ErrorKind
[src]
impl Eq for ErrorKind
[src]
impl From<ErrorKind> for Error
[src]
impl Clone for ErrorKind
[src]
fn clone(&self) -> ErrorKind
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for ErrorKind
[src]
impl Display for ErrorKind
[src]
impl Serialize for ErrorKind
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl Deserialize<'static> for ErrorKind
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'static>,
[src]
__D: Deserializer<'static>,
impl Fail for ErrorKind
[src]
fn name(&self) -> Option<&str>
[src]
fn cause(&self) -> Option<&dyn Fail>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn context<D>(self, context: D) -> Context<D> where
D: Display + Send + Sync + 'static,
[src]
D: Display + Send + Sync + 'static,
Provides context for this failure. Read more
fn compat(self) -> Compat<Self>
[src]
Wraps this failure in a compatibility wrapper that implements std::error::Error
. Read more
Auto Trait Implementations
impl Send for ErrorKind
impl Unpin for ErrorKind
impl Sync for ErrorKind
impl UnwindSafe for ErrorKind
impl RefUnwindSafe for ErrorKind
Blanket Implementations
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Erased for T
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<E> Fail for E where
E: 'static + Error + Send + Sync,
[src]
E: 'static + Error + Send + Sync,
fn name(&self) -> Option<&str>
[src]
Returns the "name" of the error. Read more
fn cause(&self) -> Option<&(dyn Fail + 'static)>
[src]
Returns a reference to the underlying cause of this failure, if it is an error that wraps other errors. Read more
fn backtrace(&self) -> Option<&Backtrace>
[src]
Returns a reference to the Backtrace
carried by this failure, if it carries one. Read more
fn context<D>(self, context: D) -> Context<D> where
D: Display + Send + Sync + 'static,
[src]
D: Display + Send + Sync + 'static,
Provides context for this failure. Read more
fn compat(self) -> Compat<Self>
[src]
Wraps this failure in a compatibility wrapper that implements std::error::Error
. Read more
impl<T> SafeBorrow<T> for T where
T: ?Sized,
T: ?Sized,
fn borrow_replacement(ptr: &T) -> &T
impl<'a, T> DefaultFeatures<'a> for T where
T: 'a + Send + Sync + Clone,
T: 'a + Send + Sync + Clone,
fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a> + 'a>
fn self_address_mut(&mut self) -> *mut ()
impl<'a, T> NonSyncFeatures<'a> for T where
T: 'a + Clone,
T: 'a + Clone,
fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a> + 'a>
fn self_address_mut(&mut self) -> *mut ()
impl<T> DebugAny for T where
T: Any + Debug,
T: Any + Debug,
impl<T> CloneAny for T where
T: Clone + Any,
T: Clone + Any,
fn clone_any(&self) -> Box<dyn CloneAny + 'static>
fn clone_any_send(&self) -> Box<dyn CloneAny + 'static + Send> where
T: Send,
T: Send,
fn clone_any_sync(&self) -> Box<dyn CloneAny + 'static + Sync> where
T: Sync,
T: Sync,
fn clone_any_send_sync(&self) -> Box<dyn CloneAny + 'static + Sync + Send> where
T: Send + Sync,
T: Send + Sync,
impl<T> UnsafeAny for T where
T: Any,
T: Any,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> AsFail for T where
T: Fail,
[src]
T: Fail,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,