Trait ghost_actor::GhostHandler
source · pub trait GhostHandler<D: GhostDispatch<Self>>: 'static + Send + Sized {
// Provided method
fn ghost_actor_dispatch(&mut self, d: D) { ... }
}
Expand description
An item that can handle an incoming GhostEvent.
Provided Methods§
sourcefn ghost_actor_dispatch(&mut self, d: D)
fn ghost_actor_dispatch(&mut self, d: D)
Process a dispatch event with this GhostHandler.