pub enum TransactionStatus {
Submitted {
time: Tai64,
},
Success {
block_id: BlockId,
time: Tai64,
result: Option<ProgramState>,
},
SqueezedOut {
reason: String,
},
Failed {
block_id: BlockId,
time: Tai64,
reason: String,
result: Option<ProgramState>,
},
}
Expand description
The status of the transaction during its life from the tx pool until the block.
Variants§
Trait Implementations§
source§impl Clone for TransactionStatus
impl Clone for TransactionStatus
source§fn clone(&self) -> TransactionStatus
fn clone(&self) -> TransactionStatus
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 moresource§impl Debug for TransactionStatus
impl Debug for TransactionStatus
source§impl PartialEq<TransactionStatus> for TransactionStatus
impl PartialEq<TransactionStatus> for TransactionStatus
source§fn eq(&self, other: &TransactionStatus) -> bool
fn eq(&self, other: &TransactionStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.