tyra 1.0.0

Typed Actor System
Documentation
1
2
3
4
5
6
7
8
9
use std::time::Duration;

#[derive(PartialEq, Clone, Copy, Debug)]
pub enum ActorState {
    Running,
    Inactive,
    Stopped,
    Sleeping(Duration),
}