logo
pub trait MainloopSignals: MainloopTrait {
    fn init_signals(&mut self) -> Result<(), PAErr> { ... }
fn signals_done(&self) { ... } }
Expand description

Trait with signal handling, for mainloops.

Provided methods

Initializes the UNIX signal subsystem and bind it to the specified main loop.

Cleans up the signal subsystem.

Implementors