organic/src/context/exiting.rs

14 lines
271 B
Rust
Raw Normal View History

#[derive(Debug, Copy, Clone)]
2023-09-11 13:13:28 -04:00
pub(crate) enum ExitClass {
Document = 1,
Alpha = 2,
Beta = 3,
Gamma = 4,
2023-04-17 21:16:39 -04:00
}
2023-04-18 20:44:58 -04:00
impl std::fmt::Display for ExitClass {
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
write!(f, "{:?}", self)
}
}