[−][src]Enum exonum_btc_anchoring::sync::TransactionStatus
Status of the transaction in the Bitcoin network.
Variants
Transaction is unknown in the Bitcoin network.
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]
fn clone(&self) -> TransactionStatus
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for TransactionStatus
[src]
impl Debug for TransactionStatus
[src]
impl PartialEq<TransactionStatus> for TransactionStatus
[src]
fn eq(&self, other: &TransactionStatus) -> bool
[src]
fn ne(&self, other: &TransactionStatus) -> bool
[src]
impl StructuralPartialEq for TransactionStatus
[src]
Auto Trait Implementations
impl RefUnwindSafe for TransactionStatus
impl Send for TransactionStatus
impl Sync for TransactionStatus
impl Unpin for TransactionStatus
impl UnwindSafe for TransactionStatus
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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, 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> Typeable for T where
T: Any,
T: Any,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,