[−][src]Enum private_currency::transactions::Error  
Errors that can occur during transaction processing.
Variants
WalletExistsWallet already exists.
Can occur in CreateWallet.
UnregisteredSenderThe sender of a transfer is not registered.
Can occur in Transfer.
UnregisteredReceiverThe receiver of a transfer is not registered.
Can occur in Transfer.
IncorrectProofThe range proof for the sender’s sufficient account balance is incorrect.
Can occur in Transfer.
OutdatedHistoryThere has been another outgoing transfer since the referenced point in time.
Can occur in Transfer.
InvalidHistoryRefTransfer refers to wallet history length exceeding real one.
Can occur in Transfer.
UnknownTransferAn Accept transaction references an unknown transfer.
Can occur in Accept.
The author of an Accept transaction differs from the receiver of the referenced
transfer.
Can occur in Accept.
Trait Implementations
impl Clone for Error[src] 
impl Clone for Errorfn clone(&self) -> Error[src] 
fn clone(&self) -> Errorfn clone_from(&mut self, source: &Self)1.0.0[src] 
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Copy for Error[src] 
impl Copy for Errorimpl From<Error> for ExecutionError[src] 
impl From<Error> for ExecutionErrorimpl Eq for Error[src] 
impl Eq for Errorimpl PartialEq<Error> for Error[src] 
impl PartialEq<Error> for Errorfn eq(&self, other: &Error) -> bool[src] 
fn eq(&self, other: &Error) -> bool#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src] 
#[must_use]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=.
impl Display for Error[src] 
impl Display for Errorimpl Debug for Error[src] 
impl Debug for Errorimpl Hash for Error[src] 
impl Hash for Errorfn hash<__H: Hasher>(&self, state: &mut __H)[src] 
fn hash<__H: Hasher>(&self, state: &mut __H)fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher, 1.3.0[src] 
fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher, Feeds a slice of this type into the given [Hasher]. Read more
impl Fail for Error[src] 
impl Fail for Errorfn cause(&self) -> Option<&dyn Fail>[src] 
fn cause(&self) -> Option<&dyn Fail>fn backtrace(&self) -> Option<&Backtrace>[src] 
fn backtrace(&self) -> Option<&Backtrace>fn context<D>(self, context: D) -> Context<D> where
    D: Display + Send + Sync + 'static, 
fn context<D>(self, context: D) -> Context<D> where
    D: Display + Send + Sync + 'static, Provides context for this failure. Read more
fn compat(self) -> Compat<Self>
fn compat(self) -> Compat<Self>Wraps this failure in a compatibility wrapper that implements std::error::Error. Read more
Auto Trait Implementations
Blanket Implementations
impl<T> From for T[src] 
impl<T> From for Timpl<T, U> Into for T where
    U: From<T>, [src] 
impl<T, U> Into for T where
    U: From<T>, impl<T> ToString for T where
    T: Display + ?Sized, [src] 
impl<T> ToString for T where
    T: Display + ?Sized, impl<T> ToOwned for T where
    T: Clone, [src] 
impl<T> ToOwned for T where
    T: Clone, impl<T, U> TryFrom for T where
    T: From<U>, [src] 
impl<T, U> TryFrom for T where
    T: From<U>, type Error = !
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src] 
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>impl<T> Borrow for T where
    T: ?Sized, [src] 
impl<T> Borrow for T where
    T: ?Sized, impl<T> Any for T where
    T: 'static + ?Sized, [src] 
impl<T> Any for T where
    T: 'static + ?Sized, fn get_type_id(&self) -> TypeId[src] 
fn get_type_id(&self) -> TypeIdimpl<T, U> TryInto for T where
    U: TryFrom<T>, [src] 
impl<T, U> TryInto for T where
    U: TryFrom<T>, type Error = <U as TryFrom<T>>::Error
try_from)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src] 
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>impl<T> BorrowMut for T where
    T: ?Sized, [src] 
impl<T> BorrowMut for T where
    T: ?Sized, fn borrow_mut(&mut self) -> &mut T[src] 
fn borrow_mut(&mut self) -> &mut Timpl<T> AsFail for T where
    T: Fail, 
impl<T> AsFail for T where
    T: Fail, fn as_fail(&self) -> &(dyn Fail + 'static)
fn as_fail(&self) -> &(dyn Fail + 'static)impl<E> Fail for E where
    E: 'static + Error + Send + Sync, 
impl<E> Fail for E where
    E: 'static + Error + Send + Sync, fn cause(&self) -> Option<&(dyn Fail + 'static)>
fn cause(&self) -> Option<&(dyn Fail + 'static)>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>
fn backtrace(&self) -> Option<&Backtrace>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, 
fn context<D>(self, context: D) -> Context<D> where
    D: Display + Send + Sync + 'static, Provides context for this failure. Read more
fn compat(self) -> Compat<Self>
fn compat(self) -> Compat<Self>Wraps this failure in a compatibility wrapper that implements std::error::Error. Read more
impl<T> Erased for T
impl<T> Erased for Timpl<T> Erased for T
impl<T> Erased for Timpl<Q, K> Equivalent for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized, [src] 
impl<Q, K> Equivalent for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized, fn equivalent(&self, key: &K) -> bool[src] 
fn equivalent(&self, key: &K) -> boolimpl<T> Same for T
impl<T> Same for Ttype Output = T
Should always be Self