Trait ghost_actor::GhostControlHandler[][src]

pub trait GhostControlHandler: 'static + Send + Sized {
    fn handle_ghost_actor_shutdown(self) -> MustBoxFuture<'static, ()> { ... }
}
Expand description

All handlers must implement these generic control callbacks. Many of the functions within are provided as no-ops that can be overridden.

Provided methods

Called when the actor task loops ends. Allows for any needed cleanup / triggers.

Implementors