base-scheduler 0.3.0

Explicit, runtime-independent scheduler capabilities for protocol libraries
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// Released under the MIT License.
// Copyright, 2026, by Samuel Williams.

/// Selection of child state changes. The default waits for termination.
#[derive(Clone, Copy, Debug, Default, Eq, PartialEq)]
pub struct ProcessWaitFlags {
    /// Return immediately with `None` if a matching child has no reportable state change.
    pub nohang: bool,
    /// Also report stopped children. Unsupported on Windows.
    pub untraced: bool,
    /// Also report children resumed by `SIGCONT`. Unsupported on Windows.
    pub continued: bool,
}