pub trait IntoCheckInfo: Sized {
// Required method
fn check_passed(self) -> CheckInfo;
// Provided method
fn check_failed(self) -> CheckInfo { ... }
}Required Methods§
fn check_passed(self) -> CheckInfo
Provided Methods§
fn check_failed(self) -> CheckInfo
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.