pub trait Diagnose<T>:
Debug
+ Send
+ Sync {
type Error: Error + Send + Sync + 'static;
// Required method
fn diagnose(
&self,
value: &T,
tolerance: Tolerance,
) -> Result<Diagnosis, Self::Error>;
}Expand description
Diagnose without mutating input.