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::{
32    Context, LifecyclePhase, PhaseMarker, Running, Starting, Stopping, SystemHandle, TypedContext,
33};
34pub use coordinated_shutdown::{CoordinatedShutdown, Phase, PhaseConfig};
35pub use deploy::{Deploy, Scope};
36pub use extensions::{Extension, ExtensionId, Extensions};
37pub use fsm::{FiniteStateMachine, Fsm, FsmBuilder, FsmStopReason, FsmTransition};
38pub use inbox::Inbox;
39pub use observer::{DeadLetterObserver, SpawnObserver};
40pub use path::{ActorPath, PathElement};
41pub use props::{BoxedProps, Props};
42pub use provider::{ActorRefProvider, LocalActorRefProvider};
43pub use remote::{RemoteProvider, RemoteRef, RemoteSystemMsg, SerializedMessage};
44pub use sender::Sender;
45pub use stash::{BoundedStash, Stash, StashOverflow, StashResult};
46pub use traits::{Actor, MessageEnvelope};