Skip to main content

handle_stop

Function handle_stop 

Source
pub fn handle_stop<A: Actor>(
    this: &Instance<A>,
    mode: StopMode,
    reason: &str,
) -> Result<(), Error>
Expand description

Default implementation of Actor::handle_stop. Defined as a free function so that Actor implementations that override Actor::handle_stop can fall back to this default.