[−][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.
Commit(String)
Error from summing commitments
Can't parse slate version
Can't serialize slate
Can't deserialize slate
Can't serialize slate pack
SlatepackDeser(String)
Can't deserialize slate
SlateVersion(u16)
Unknown slate version
Attempt to use slate transaction data that doesn't exists
SlateInvalidDowngrade(String)
Attempt to downgrade slate that can't be downgraded
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
KernelFeaturesMissing(String)
Kernel features args don't exist
UnknownKernelFeatures(u8)
Unknown Kernel Feature
InvalidKernelFeatures(u8)
Invalid Kernel Feature
InvalidSlatepackData(String)
Invalid Slatepack Data
SlatepackEncryption(String)
Slatepack Encryption
SlatepackDecryption(String)
Slatepack Decryption
Age(String)
age error
SlatepackAddress(String)
Slatepack address parsing error
StoredTx(String)
Retrieving Stored Tx
GenericError(String)
Other
Trait Implementations
impl Clone for ErrorKind
[src]
impl Debug for ErrorKind
[src]
impl Deserialize<'static> for ErrorKind
[src]
pub 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]
pub fn name(&self) -> Option<&str>
[src]
pub fn cause(&self) -> Option<&dyn Fail>
[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn context<D>(self, context: D) -> Context<D> where
D: Display + Send + Sync + 'static,
[src]
D: Display + Send + Sync + 'static,
pub fn compat(self) -> Compat<Self>
[src]
impl From<ErrorKind> for Error
[src]
impl PartialEq<ErrorKind> for ErrorKind
[src]
impl Serialize for ErrorKind
[src]
pub 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
[src]
impl Send for ErrorKind
[src]
impl Sync for ErrorKind
[src]
impl Unpin for ErrorKind
[src]
impl UnwindSafe for ErrorKind
[src]
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> CloneAny for T where
T: Clone + Any,
T: Clone + Any,
pub fn clone_any(&self) -> Box<dyn CloneAny + 'static, Global>
pub fn clone_any_send(&self) -> Box<dyn CloneAny + 'static + Send, Global> where
T: Send,
T: Send,
pub fn clone_any_sync(&self) -> Box<dyn CloneAny + 'static + Sync, Global> where
T: Sync,
T: Sync,
pub fn clone_any_send_sync(
&self
) -> Box<dyn CloneAny + 'static + Send + Sync, Global> where
T: Send + Sync,
&self
) -> Box<dyn CloneAny + 'static + Send + Sync, Global> where
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,
pub fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a> + 'a, Global>
pub 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,
pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[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,
pub fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a> + 'a, Global>
pub fn self_address_mut(&mut self) -> *mut ()
impl<T> SafeBorrow<T> for T where
T: ?Sized,
T: ?Sized,
pub 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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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.
pub 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>,