pub trait Handle<T>where
Self: Actor,{
// Required method
fn handle(&mut self, value: T) -> impl Into<ActorCommand<Self::ShutDown>>;
}Required Methods§
fn handle(&mut self, value: T) -> impl Into<ActorCommand<Self::ShutDown>>
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.