Skip to main content

stop_on_abnormal_death

Function stop_on_abnormal_death 

Source
pub fn stop_on_abnormal_death<B: Behavior>(
    _behavior: &mut B,
    peer: B::Addr,
    outcome: &Result<Exit<B::Addr>, Crash>,
) -> Result<Become<B::Addr>, B::Error>
Expand description

Stop when the monitor reports an abnormal outcome.

ยงErrors

This supplied policy never creates a controlled error.