Skip to main content

atomr_core/actor/
mod.rs

1//! The `actor` subsystem.
2//!
3//! Everything user-visible about actors lives here: [`Actor`], [`ActorRef`],
4//! [`ActorSystem`], [`Props`], [`Context`], plus paths/addresses and the
5//! internal `ActorCell` machinery.
6
7mod actor_cell;
8mod actor_ref;
9mod actor_system;
10mod address;
11mod context;
12mod coordinated_shutdown;
13mod deploy;
14mod extensions;
15mod fsm;
16mod inbox;
17mod observer;
18mod path;
19mod props;
20mod provider;
21mod remote;
22pub mod scheduler;
23mod sender;
24mod stash;
25mod traits;
26
27pub use actor_cell::{ActorCell, SystemMsg};
28pub use actor_ref::{ActorRef, AskError, UntypedActorRef};
29pub use actor_system::{ActorSystem, ActorSystemError};
30pub use address::Address;
31pub use context::{Context, LifecyclePhase, PhaseMarker, Running, Starting, Stopping, TypedContext};
32pub use coordinated_shutdown::{CoordinatedShutdown, Phase, PhaseConfig};
33pub use deploy::{Deploy, Scope};
34pub use extensions::{Extension, ExtensionId, Extensions};
35pub use fsm::{FiniteStateMachine, Fsm, FsmBuilder, FsmStopReason, FsmTransition};
36pub use inbox::Inbox;
37pub use observer::{DeadLetterObserver, SpawnObserver};
38pub use path::{ActorPath, PathElement};
39pub use props::{BoxedProps, Props};
40pub use provider::{ActorRefProvider, LocalActorRefProvider};
41pub use remote::{RemoteProvider, RemoteRef, RemoteSystemMsg, SerializedMessage};
42pub use sender::Sender;
43pub use stash::{BoundedStash, Stash, StashOverflow, StashResult};
44pub use traits::{Actor, MessageEnvelope};