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.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".