pub trait ExpectFromAction<T> {
// Required method
fn expect_from_action(self, action: &Action) -> T;
}Expand description
Trait for extracting specific types from ActionResult with action validation
Required Methods§
fn expect_from_action(self, action: &Action) -> T
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".