pub trait AccumulateError<R>: Send + Sync { // Required methods fn max(&self) -> R; fn mean(&self) -> R; }