pub type StatsResult<T> = Result<T, StatsError>;Expand description
Convenience type alias for Result with StatsError
This is the standard return type for functions that can fail in the rs-stats library.
§Examples
use rs_stats::error::StatsResult;
fn might_fail() -> StatsResult<f64> {
Ok(42.0)
}Aliased Type§
pub enum StatsResult<T> {
Ok(T),
Err(StatsError),
}