pub trait MoveHandler<M: Move>where
Self: Server,{
const LEAK_MESSAGE: bool;
// Required method
fn handle(&mut self, msg: M, sender: PID, context: &mut ServerContext<Self>);
}Expand description
A Move message handler.
Required Associated Constants§
const LEAK_MESSAGE: bool
Required Methods§
fn handle(&mut self, msg: M, sender: PID, context: &mut ServerContext<Self>)
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.