pub trait ConsistencyCheck: Clone + Default {
// Required method
fn check_consistency<T: PartialEq + Debug, Input>(
&self,
cache: T,
input: &Input,
query: fn(&Input) -> T,
);
}Expand description
Trait to configure consistency checking behavior
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.