Type Alias sled::transaction::TransactionResult

source ·
pub type TransactionResult<T, E = ()> = Result<T, TransactionError<E>>;
Expand description

A transaction-related Result which is used for returning the final result of a transaction after potentially running the provided closure several times due to underlying conflicts.

Aliased Type§

enum TransactionResult<T, E = ()> {
    Ok(T),
    Err(TransactionError<E>),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(TransactionError<E>)

Contains the error value