[][src]Enum exonum_btc_anchoring::sync::ChainUpdateError

pub enum ChainUpdateError<C: Display> {
    Client(C),
    InsufficientFunds {
        total_fee: u64,
        balance: u64,
    },
    NoInitialFunds,
    Internal(Error),
}

Errors that occur when updating the anchoring chain.

Variants

Client(C)

Error occurred in the private API client.

InsufficientFunds

Insufficient funds to create an anchoring transaction proposal.

Fields of InsufficientFunds

total_fee: u64

Total transaction fee.

balance: u64

Available balance.

NoInitialFunds

Initial funding transaction is absent.

Internal(Error)

Internal error.

Trait Implementations

impl<C: Debug + Display> Debug for ChainUpdateError<C>[src]

Auto Trait Implementations

impl<C> RefUnwindSafe for ChainUpdateError<C> where
    C: RefUnwindSafe

impl<C> Send for ChainUpdateError<C> where
    C: Send

impl<C> Sync for ChainUpdateError<C> where
    C: Sync

impl<C> Unpin for ChainUpdateError<C> where
    C: Unpin

impl<C> UnwindSafe for ChainUpdateError<C> where
    C: UnwindSafe

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,