xan_actor/
lib.rs

1pub mod actor;
2pub mod actor_system;
3mod error;
4#[cfg(test)]
5mod test;
6pub mod types;
7
8pub use crate::error::ActorError;
9pub use crate::types::{JobSpec, Message};
10pub use actor::*;
11pub use actor_system::*;
12
13#[macro_use]
14extern crate log;
15
16#[derive(Clone, Debug)]
17/// Represents the lifecycle of an actor
18pub enum LifeCycle {
19    Starting,
20    Receiving,
21    Stopping,
22    Terminated,
23    Restarting,
24}