[−][src]Enum grin_wallet_libwallet::ErrorKind
Wallet errors, mostly wrappers around underlying crypto or I/O errors.
Variants
Not enough funds
Fields of NotEnoughFunds
Fee(String)
Fee error
LibTX Error
Keychain error
Transaction Error
ClientCallback(String)
API Error
Secp Error
OnionV3Address(OnionV3AddressError)
Onion V3 Address Error
CallbackImpl(&'static str)
Callback implementation error conversion
Backend(String)
Wallet backend error
Callback implementation error conversion
Format(String)
An error in the format of the JSON structures exchanged by the wallet
Other serialization errors
IO Error
Error when contacting a node through its API
WalletComms(String)
Error contacting wallet API
Error originating from hyper.
Error originating from hyper uri parsing.
Signature(String)
Signature error
APIEncryption(String)
OwnerAPIEncryption
Attempt to use duplicate transaction id in separate transactions
WalletSeedExists(String)
Wallet seed already exists
Wallet seed doesn't exist
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
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
Invalid BIP-32 Depth
AccountLabelAlreadyExists(String)
Attempt to add an account that exists
UnknownAccountLabel(String)
Reference unknown account label
Error from summing commitments via committed trait.
Can't parse slate version
Can't serialize slate
Can't deserialize slate
SlateVersion(u16)
Unknown slate version
Compatibility(String)
Compatibility error between incoming slate versions and what's expected
Keychain doesn't exist (wallet not openend)
Lifecycle(String)
Lifecycle Error
Invalid Keychain Mask Error
TorProcess(String)
Tor Process error
TorConfig(String)
Tor Configuration Error
ED25519Key(String)
Generating ED25519 Public Key
PaymentProof(String)
Generating Payment Proof
PaymentProofRetrieval(String)
Retrieving Payment Proof
PaymentProofParsing(String)
Retrieving Payment Proof
AddressDecoding(String)
Decoding OnionV3 addresses to payment proof addresses
Transaction has expired it's TTL
GenericError(String)
Other
Trait Implementations
impl Clone for ErrorKind
[src]
impl Debug for ErrorKind
[src]
impl Deserialize<'static> for ErrorKind
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'static>,
[src]
__D: Deserializer<'static>,
impl Display for ErrorKind
[src]
impl Eq for ErrorKind
[src]
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,
fn compat(self) -> Compat<Self>
[src]
impl From<ErrorKind> for Error
[src]
impl PartialEq<ErrorKind> 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 StructuralEq for ErrorKind
[src]
impl StructuralPartialEq for ErrorKind
[src]
Auto Trait Implementations
impl RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnwindSafe for ErrorKind
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AsFail for T where
T: Fail,
[src]
T: Fail,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
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 + Send + Sync> where
T: Send + Sync,
T: Send + Sync,
impl<T> DebugAny for T where
T: Any + Debug,
T: Any + Debug,
impl<'a, T> DefaultFeatures<'a> for T where
T: 'a + Clone + Send + Sync,
T: 'a + Clone + Send + Sync,
fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a> + 'a>
fn self_address_mut(&mut self) -> *mut ()
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<T> Erased for T
impl<E> Fail for E where
E: 'static + Error + Send + Sync,
[src]
E: 'static + Error + Send + Sync,
fn name(&self) -> Option<&str>
[src]
fn cause(&self) -> Option<&(dyn Fail + 'static)>
[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,
fn compat(self) -> Compat<Self>
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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> SafeBorrow<T> for T where
T: ?Sized,
T: ?Sized,
fn borrow_replacement(ptr: &T) -> &T
impl<T> Same<T> for T
type Output = T
Should always be Self
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> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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> UnsafeAny for T where
T: Any,
T: Any,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,