pub trait ProcessControlHandler: Send + Sync {
// Required methods
fn shutdown(&self) -> CtrlFuture<'_>;
fn reload(&self) -> CtrlFuture<'_>;
}Expand description
Handle that allows external code to control a running Runnable.
pub trait ProcessControlHandler: Send + Sync {
// Required methods
fn shutdown(&self) -> CtrlFuture<'_>;
fn reload(&self) -> CtrlFuture<'_>;
}Handle that allows external code to control a running Runnable.