pub trait CallMutWithState<U, A, O, E> {
// Required method
fn call_mut(&mut self, state: &mut U, args: A) -> Result<O, Exception>;
}Expand description
A trait for functions that can be called with state.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".