pub(crate) trait ExpectExt<T> {
// Required method
fn expect_str(self, what: &str, s: &str) -> T;
}Required Methods§
fn expect_str(self, what: &str, s: &str) -> T
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".