pub type AnyResult<T> = Result<T, Box<dyn Error + Send + Sync>>;
Available on crate feature
kernel
only.Expand description
A Result
alias which returns a Box<dyn Error + Send + Sync>
on failure.
This is the most generic Result
possible – any
other Result
can be converted into it.
Aliased Type§
enum AnyResult<T> {
Ok(T),
Err(Box<dyn Error + Send + Sync>),
}