1extern crate self as behavior;
8
9#[path = "behavior.rs"]
10mod algebra;
11mod deadlined;
12mod stashing;
13mod supervising;
14mod verdict;
15mod watching;
16
17mod fsm;
19mod shutdown;
20mod spec;
21
22pub use algebra::{
23 Acted, Actions, Address, Base, Become, Behavior, BirthMode, Births, Create, Delivery, FnState,
24 MailAddr, NoBirths, Recipient, Route, SendAlgebra, SendProduct, ServiceSends, State,
25 Transcript, User, UserEvent, run,
26};
27pub use deadlined::{
28 At, AtEvent, AtGeneration, AtId, AtReaction, ScheduleAt, TimeEvent, TimeReached,
29};
30pub use fsm::{Fsm, Move};
31pub use shutdown::{
32 FinalizeOnShutdown, ShutdownEvent, ShutdownProtocol, ShutdownReaction, ShutdownRequested,
33 StopOnShutdown,
34};
35pub use spec::Spec;
36pub use stashing::{StashRoute, Stashing};
37pub use supervising::{
38 ChildEvent, ChildStopped, ObserveChild, Proxy, ProxyCommand, ReportWorkerStopped,
39 RestartPolicy, Strategy, Supervising, SupervisionEvent, WorkerEvent, WorkerStopped,
40 restart_all, restart_one, restart_rest,
41};
42pub use verdict::{Never, Step};
43pub use watching::{
44 LinkReaction, ObservePeer, PeerEvent, PeerStopped, WatchEvent, Watching, stop_on_abnormal_death,
45};
46
47mod exit;
48
49pub use exit::{Crash, Exit};
50
51pub use behavior_macros::workers;