pub type StmResult<T, E> = Result<T, StmError<E>>;
Expand description
Type returned by STM methods that can be aborted with an error.
Such methods must be executed with atomically_or_err.
Aliased Type§
pub enum StmResult<T, E> {
Ok(T),
Err(StmError<E>),
}