Trait scsys_core::Stateful
source · [−]pub trait Stateful<Cnt>: Clone + PartialEq + Debug + Hash {
fn active(&self) -> bool;
fn context(&self, state: String) -> Cnt;
fn message(&self, message: String) -> String { ... }
fn timestamp(&self) -> Timestamp { ... }
}