pub type DynResult<T> = Result<T, Box<dyn Error + Send + Sync + 'static>>;Expand description
A Result with super flexible error type Box<dyn Error + Send + Sync + 'static>.
Aliased Type§
pub enum DynResult<T> {
Ok(T),
Err(Box<dyn Error + Sync + Send>),
}Variants§
Ok(T)
Contains the success value
Err(Box<dyn Error + Sync + Send>)
Contains the error value