Enum exonum::explorer::TxStatus [] [src]

pub enum TxStatus {
    Success,
    Panic {
        description: String,
    },
    Error {
        code: u8,
        description: String,
    },
}

Transaction execution status. Simplified version of TransactionResult.

Variants

Successful transaction execution.

Panic during transaction execution.

Fields of Panic

Panic description.

Error during transaction execution.

Fields of Error

User-defined error code.

Error description.

Trait Implementations

impl Debug for TxStatus
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for TxStatus
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for TxStatus
[src]

impl PartialOrd for TxStatus
[src]

[src]

This method returns an ordering between self and other values if one exists. Read more

[src]

This method tests less than (for self and other) and is used by the < operator. Read more

[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Ord for TxStatus
[src]

[src]

This method returns an Ordering between self and other. Read more

1.21.0
[src]

Compares and returns the maximum of two values. Read more

1.21.0
[src]

Compares and returns the minimum of two values. Read more

Auto Trait Implementations

impl Send for TxStatus

impl Sync for TxStatus