pub trait Testable<T, E> {
// Required method
fn test(self) -> TestResult<T, E>;
}Required Methods§
fn test(self) -> TestResult<T, E>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl<T: Debug> Testable<T, Error> for Result<T>
Available on crate feature syn only.
impl<T: Debug> Testable<T, Error> for Result<T>
Available on crate feature
syn only.