SignalFd can be used to create mio-compatible signal handlers.
Create a new signalfd watching the given signal set.
Acknowledges received signal. It must be called after catching signal to acknowlege that signal. If you don't read, the same signal is re-issued on the next poll iteration.
impl RefUnwindSafe for SignalFd
impl UnwindSafe for SignalFd
type Error = Infallible
The type returned in the event of a conversion error.