create_signal_handler

Function create_signal_handler 

Source
pub fn create_signal_handler() -> Box<dyn SystemSignals>
Expand description

Create platform-specific signal handler

Returns the appropriate signal handler for the current platform:

  • Unix: UnixSignalHandler
  • Windows: WindowsSignalHandler