TransactionCommitResult

Type Alias TransactionCommitResult 

Source
pub type TransactionCommitResult = TransactionResult<CommittedTransaction>;
👎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 TransactionCommitResult {
    Ok(CommittedTransaction),
    Err(TransactionError),
}

Variants§

§1.0.0

Ok(CommittedTransaction)

Contains the success value

§1.0.0

Err(TransactionError)

Contains the error value

Trait Implementations§

Source§

impl TransactionCommitResultExtensions for TransactionCommitResult

Source§

fn was_committed(&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_executed_successfully(&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.