pub fn unix_signal_source_new<'a, N: Into<Option<&'a str>>, F>(
) -> Source where
F: FnMut() -> Continue + Send + 'static,
Adds a closure to be called by the main loop the returned
Source is attached to whenever a
UNIX signal is raised.
func will be called repeatedly every time
signum is raised until it