[][src]Enum ethcontract::transaction::ResolveCondition

pub enum ResolveCondition {
    Pending,
    Confirmed(ConfirmParams),
}

The condition on which a transaction's SendFuture gets resolved.

Variants

Pending

The transaction's SendFuture gets resolved immediately after it was added to the pending transaction pool. This skips confirmation and provides no guarantees that the transaction was mined or confirmed.

Confirmed(ConfirmParams)

Wait for confirmation with the specified ConfirmParams. A confirmed transaction is always mined. There is a chance, however, that the block in which the transaction was mined becomes an ommer block. Confirming with a higher block count significantly decreases this probability.

See ConfirmParams documentation for more details on the exact semantics confirmation.

Trait Implementations

impl Clone for ResolveCondition[src]

impl Debug for ResolveCondition[src]

impl Default for ResolveCondition[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>,