1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// SPDX-FileCopyrightText: 2026 The pidfd-util-rs authors
// SPDX-License-Identifier: MIT OR Apache-2.0
use PidFd;
use Async;
use io;
use ExitStatus;
/// An async wrapper around [`PidFd`] for asynchronous process waiting.
///
/// This type allows waiting for a process to exit asynchronously, integrating with
/// async runtimes via the `async-io` crate. The pidfd becomes readable when the
/// process exits.
///
/// Only available when the `async` feature is enabled (which is the default).
;