pub trait BackgroundHangMonitorExitSignal: Send {
// Required method
fn signal_to_exit(&self);
}
Expand description
A means for the BHM to signal a monitored component to exit. Useful when the component is hanging, and cannot be notified via the usual way. The component should implement this in a way allowing for the signal to be received when hanging, if at all.
Required Methods§
sourcefn signal_to_exit(&self)
fn signal_to_exit(&self)
Called by the BHM, to notify the monitored component to exit.