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), }