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
//! Internal event types for the connection actor select loop.
use crateWireframeError;
/// Events returned by [`ConnectionActor::next_event`][super::ConnectionActor::next_event].
///
/// Only `Debug` is derived because `WireframeError<E>` does not implement
/// `Clone` or `PartialEq`. `P` is the push frame type, which differs from the
/// response frame type when the server owns the connection.
pub
/// Which lifecycle signals one event wait observes.
///
/// The standalone driver always observes shutdown and never the peer. The
/// prepared connection observes the peer, and follows the actor's
/// `abandon_response_on_shutdown` policy for shutdown, so the two modes differ
/// in both flags and are grouped rather than passed separately.
pub