ProcessControlHandler

Trait ProcessControlHandler 

Source
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.

Required Methods§

Source

fn shutdown(&self) -> CtrlFuture<'_>

Source

fn reload(&self) -> CtrlFuture<'_>

Implementors§