Enum ethcontract::transaction::ResolveCondition
source · pub enum ResolveCondition {
Pending,
Confirmed(ConfirmParams),
}Expand description
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§
source§impl Clone for ResolveCondition
impl Clone for ResolveCondition
source§fn clone(&self) -> ResolveCondition
fn clone(&self) -> ResolveCondition
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more