Skip to main content

next_signal

Function next_signal 

Source
async fn next_signal(s: &mut Option<Signal>)
Expand description

Await the next delivery of a Unix signal, or never resolve if the signal stream couldn’t be installed. Lets run_unix’s select! treat an absent handler as “this branch is dormant” rather than special-casing Option at every poll.