pub trait ThreadAwareAsyncFnMut<T>: ThreadAware {
// Required method
fn call_mut(&mut self) -> BoxFuture<'_, T>;
}Expand description
Async equivalent of ThreadAwareFnMut - calls the closure by mutable reference, returning a BoxFuture.
Use async_closure_mut to construct an implementation.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".