Documentation
pub mod actor;
pub mod actor_system;
mod error;
#[cfg(test)]
mod test;
pub mod types;

pub use crate::error::ActorError;
pub use crate::types::{JobSpec, Message};
pub use actor::*;
pub use actor_system::*;

#[macro_use]
extern crate log;

#[derive(Clone, Debug)]
/// Represents the lifecycle of an actor
pub enum LifeCycle {
    Starting,
    Receiving,
    Stopping,
    Terminated,
    Restarting,
}