pub trait ExpectDialog<T> {
// Required method
fn expect_dialog(self, msg: &str) -> T;
}Expand description
Expect dialog trait, implemented on Option and Result out of the box
Required Methods§
fn expect_dialog(self, msg: &str) -> T
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".