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
//! The waits a stop makes, over which the prepared functions' bodies are written once
//! ([`Waits`](crate::child::graceful::shutdown::Waits) extends it with the waits of the shutdown calls).
use Duration;
use crateError;
/// The waits [`StopTarget::wait_exit`](super::StopTarget::wait_exit) and the console-event proxy's
/// caller side make. A driver blocks ([`BlockingDriver`](crate::child::graceful::shutdown::BlockingDriver)) or
/// awaits (`AsyncDriver`, with the `tokio` feature); each is made from the child alone, so a prepared
/// function can build one from the [`StopTarget`](super::StopTarget) it is given.
pub