d_stuff/
status.rs

1pub enum Status {
2    Running,
3    Success,
4    Failure,
5    Info,
6    Question,
7}
8
9impl Status {
10    pub fn as_str(&self) -> &'static str {
11        match self {
12            Status::Running => "⏳",
13            Status::Success => "✅",
14            Status::Failure => "❌",
15            Status::Info => "💡",
16            Status::Question => "❓",
17        }
18    }
19}