Skip to main content

aion_server/control/
mod.rs

1//! Server control from the operator's desk: the pid file the server writes,
2//! the incarnation checks that make it trustworthy, the shutdown outcome
3//! record that crosses the process boundary, and the stop flow built on all
4//! three. `aion server stop` / `aion server status` render these; the logic
5//! and its types live here so the server crate owns one truth about its own
6//! lifecycle records.
7
8pub mod claim;
9pub mod guard;
10pub mod incarnation;
11pub mod outcome;
12pub mod pid_file;
13pub mod stage;
14pub mod stop;
15
16#[cfg(test)]
17mod test_records;
18
19pub use claim::{HomeAlreadyClaimed, IntendedAddresses, claim_at_birth};
20pub use guard::{PidFileGuard, RecordUpdate};
21pub use incarnation::{IncarnationProbe, SelfIdentity};
22pub use outcome::{NoteFate, OutcomeRecord, ParkedWorkerRecord};
23pub use pid_file::{IncarnationState, PidRecord, StaleReconciliation};
24pub use stage::StageReporter;
25pub use stop::{StopOutcome, StopRefusal, StopVerdict, TerminationSignal, send_termination};