pub type ArcResult<T> = Result<T, Arc<Error>>;
Expand description
A result type returning reference counted cache errors.
Stores an Arc<Error>
since the error will be stuck inside a
OnceCell
and cannot be owned without cloning.
Aliased Type§
enum ArcResult<T> {
Ok(T),
Err(Arc<Error>),
}