PreCommitResult

Type Alias PreCommitResult 

Source
pub type PreCommitResult<'a> = TransactionResult<Option<RwLockReadGuard<'a, Hash>>>;
👎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 PreCommitResult<'a> {
    Ok(Option<RwLockReadGuard<'a, Hash>>),
    Err(TransactionError),
}

Variants§

§1.0.0

Ok(Option<RwLockReadGuard<'a, Hash>>)

Contains the success value

§1.0.0

Err(TransactionError)

Contains the error value