pub enum TxExecutionStatus {
None,
Included,
ExecutedOptimistic,
IncludedFinal,
Executed,
Final,
}
Expand description
TxExecutionStatus
JSON schema
{
"oneOf": [
{
"description": "Transaction is waiting to be included into the block",
"type": "string",
"enum": [
"NONE"
]
},
{
"description": "Transaction is included into the block. The block may be not finalized yet",
"type": "string",
"enum": [
"INCLUDED"
]
},
{
"description": "Transaction is included into the block +\nAll non-refund transaction receipts finished their execution.\nThe corresponding blocks for tx and each receipt may be not finalized yet",
"type": "string",
"enum": [
"EXECUTED_OPTIMISTIC"
]
},
{
"description": "Transaction is included into finalized block",
"type": "string",
"enum": [
"INCLUDED_FINAL"
]
},
{
"description": "Transaction is included into finalized block +\nAll non-refund transaction receipts finished their execution.\nThe corresponding blocks for each receipt may be not finalized yet",
"type": "string",
"enum": [
"EXECUTED"
]
},
{
"description": "Transaction is included into finalized block +\nExecution of all transaction receipts is finalized, including refund receipts",
"type": "string",
"enum": [
"FINAL"
]
}
]
}
Variants§
None
Transaction is waiting to be included into the block
Included
Transaction is included into the block. The block may be not finalized yet
ExecutedOptimistic
Transaction is included into the block + All non-refund transaction receipts finished their execution. The corresponding blocks for tx and each receipt may be not finalized yet
IncludedFinal
Transaction is included into finalized block
Executed
Transaction is included into finalized block + All non-refund transaction receipts finished their execution. The corresponding blocks for each receipt may be not finalized yet
Final
Transaction is included into finalized block + Execution of all transaction receipts is finalized, including refund receipts
Trait Implementations§
Source§impl Clone for TxExecutionStatus
impl Clone for TxExecutionStatus
Source§fn clone(&self) -> TxExecutionStatus
fn clone(&self) -> TxExecutionStatus
Returns a duplicate 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 TxExecutionStatus
impl Debug for TxExecutionStatus
Source§impl<'de> Deserialize<'de> for TxExecutionStatus
impl<'de> Deserialize<'de> for TxExecutionStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for TxExecutionStatus
impl Display for TxExecutionStatus
Source§impl From<&TxExecutionStatus> for TxExecutionStatus
impl From<&TxExecutionStatus> for TxExecutionStatus
Source§fn from(value: &TxExecutionStatus) -> Self
fn from(value: &TxExecutionStatus) -> Self
Converts to this type from the input type.
Source§impl FromStr for TxExecutionStatus
impl FromStr for TxExecutionStatus
Source§impl Hash for TxExecutionStatus
impl Hash for TxExecutionStatus
Source§impl Ord for TxExecutionStatus
impl Ord for TxExecutionStatus
Source§fn cmp(&self, other: &TxExecutionStatus) -> Ordering
fn cmp(&self, other: &TxExecutionStatus) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TxExecutionStatus
impl PartialEq for TxExecutionStatus
Source§impl PartialOrd for TxExecutionStatus
impl PartialOrd for TxExecutionStatus
Source§impl Serialize for TxExecutionStatus
impl Serialize for TxExecutionStatus
Source§impl TryFrom<&String> for TxExecutionStatus
impl TryFrom<&String> for TxExecutionStatus
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for TxExecutionStatus
impl TryFrom<&str> for TxExecutionStatus
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for TxExecutionStatus
impl TryFrom<String> for TxExecutionStatus
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl Copy for TxExecutionStatus
impl Eq for TxExecutionStatus
impl StructuralPartialEq for TxExecutionStatus
Auto Trait Implementations§
impl Freeze for TxExecutionStatus
impl RefUnwindSafe for TxExecutionStatus
impl Send for TxExecutionStatus
impl Sync for TxExecutionStatus
impl Unpin for TxExecutionStatus
impl UnwindSafe for TxExecutionStatus
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string
, but without panic on OOM.