1#![deny(unsafe_code)]
13#![deny(unused_must_use)]
14
15pub mod crash;
16pub mod drainable;
17pub mod error;
18pub mod fd;
19pub mod frame;
20pub mod incumbent;
21pub mod lock;
22pub mod metrics;
23pub mod protocol;
24pub mod role;
25pub mod state;
26pub mod supervisor;
27mod util;
28
29pub use drainable::{DrainReport, Drainable, ReadinessSnapshot, SealReport, StateSnapshot};
30pub use error::{Error, Result};
31pub use fd::{arrange_inherited_fds_on_spawn, pass_listener_fds_on_spawn};
32pub use incumbent::Incumbent;
33pub use lock::DataDirLock;
34pub use protocol::HandoffId;
35pub use role::{
36 BegunSuccessor, HandshookSuccessor, HeartbeatGuard, InheritedListeners, Role, Successor,
37 detect_role,
38};
39pub use supervisor::{HandoffOutcome, SpawnSpec, Supervisor};