pub trait AsyncHandle<T>{
// Required method
fn async_handle(
&mut self,
value: T,
) -> impl Future<Output = impl Into<ActorCommand<Self::ShutDown>>> + Send;
}Required Methods§
fn async_handle( &mut self, value: T, ) -> impl Future<Output = impl Into<ActorCommand<Self::ShutDown>>> + Send
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.