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 { ... }
}

Required Methods

Provided Methods

Implementors