1 2 3 4 5 6
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, PartialOrd, Ord)] pub enum ResourceState { Ok, NotReady, Err, }