1 2 3 4 5 6
// This type is used for associating actions with the type #[derive(Debug, Clone, PartialEq)] pub enum Action { Message(String), Stop(bool), }