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§
Ok(Option<RwLockReadGuard<'a, Hash>>)
Contains the success value
Err(TransactionError)
Contains the error value