[][src]Enum exonum_btc_anchoring::sync::TransactionStatus

pub enum TransactionStatus {
    Unknown,
    Mempool,
    Committed(u32),
}

Status of the transaction in the Bitcoin network.

Variants

Unknown

Transaction is unknown in the Bitcoin network.

Mempool

The transaction is not committed, but presented in the Bitcoin node memory pool.

Committed(u32)

The transaction was completed to the Bitcoin blockchain with the specified number of confirmations.

Methods

impl TransactionStatus[src]

pub fn is_known(self) -> bool[src]

Checks that this transaction is known by the Bitcoin network.

pub fn confirmations(self) -> Option<u32>[src]

Returns number of transaction confirmations in Bitcoin blockchain.

Trait Implementations

impl Clone for TransactionStatus[src]

impl Copy for TransactionStatus[src]

impl Debug for TransactionStatus[src]

impl PartialEq<TransactionStatus> for TransactionStatus[src]

impl StructuralPartialEq for TransactionStatus[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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>,