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.
pub trait CallMutWithState<U, A, O, E> {
// Required method
fn call_mut(&mut self, state: &mut U, args: A) -> Result<O, Exception>;
}
A trait for functions that can be called with state.