xan_actor/
lib.rs

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