Type Alias sled::transaction::ConflictableTransactionResult
source · pub type ConflictableTransactionResult<T, E = ()> = Result<T, ConflictableTransactionError<E>>;
Expand description
A transaction-related Result
which is used for transparently handling
concurrency-related conflicts when running transaction closures.
Aliased Type§
enum ConflictableTransactionResult<T, E = ()> {
Ok(T),
Err(ConflictableTransactionError<E>),
}
Variants§
Ok(T)
Contains the success value
Err(ConflictableTransactionError<E>)
Contains the error value