2023-04-18 20:33:01 -04:00
|
|
|
#[derive(Debug, Copy, Clone)]
|
2023-09-11 13:11:08 -04:00
|
|
|
enum ExitClass {
|
2023-04-18 20:33:01 -04:00
|
|
|
Document = 1,
|
2023-09-08 14:02:15 -04:00
|
|
|
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)
|
|
|
|
}
|
|
|
|
}
|