TransactionProcessingResult

Type Alias TransactionProcessingResult 

Source
pub type TransactionProcessingResult = TransactionResult<ProcessedTransaction>;
👎Deprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.

Aliased Type§

pub enum TransactionProcessingResult {
    Ok(ProcessedTransaction),
    Err(TransactionError),
}

Variants§

§1.0.0

Ok(ProcessedTransaction)

Contains the success value

§1.0.0

Err(TransactionError)

Contains the error value

Trait Implementations§

Source§

impl TransactionProcessingResultExtensions for TransactionProcessingResult

Source§

fn was_processed(&self) -> bool

👎Deprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.
Source§

fn was_processed_with_successful_result(&self) -> bool

👎Deprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.
Source§

fn processed_transaction(&self) -> Option<&ProcessedTransaction>

👎Deprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.
Source§

fn flattened_result(&self) -> TransactionResult<()>

👎Deprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.