pub trait ActionCallback<M, E> {
    type Input;
    type Output;
    // Required method
    fn call(
        &mut self,
        input: Self::Input,
    ) -> impl Future<Output = Result<Self::Output, E>> + 'static;
}Required Associated Types§
Required Methods§
fn call( &mut self, input: Self::Input, ) -> impl Future<Output = Result<Self::Output, E>> + 'static
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.