Type Alias TransactionClosureResult

Source
pub type TransactionClosureResult<T, E> = Result<T, TransactionError<E>>;
Expand description

Return type of a fallible transaction body.

Aliased Type§

enum TransactionClosureResult<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