pub type AnyResult<T> = Result<T, AnyBoxedError>;
Expand description
The global any Result
alias of the library.
The difference with Result
is that it takes a dynamic error
Box<dyn AnyError>
.
Aliased Type§
enum AnyResult<T> {
Ok(T),
Err(Box<dyn AnyError + Send>),
}