Function glib::unix_signal_stream_with_priority[][src]

Important traits for Box<R>
pub fn unix_signal_stream_with_priority(
    priority: Priority,
    signum: i32
) -> Box<Stream<Item = (), Error = Never> + Send>

Create a Stream that will provide a value whenever the given UNIX signal is raised

The Stream must be spawned on an Executor backed by a glib::MainContext.