Function glib::unix_signal_future [−][src]
ⓘImportant traits for Box<R>
pub fn unix_signal_future(
signum: i32
) -> Box<Future<Item = (), Error = Never> + Send>
Create a Future that will resolve once the given UNIX signal is raised
The Future must be spawned on an Executor backed by a glib::MainContext.