#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub enum LoadKind {
Incoming,
Outgoing,
Worker,
}
impl LoadKind {
pub(crate) const ALL: [Self; 3] = [Self::Incoming, Self::Outgoing, Self::Worker];
pub(crate) const fn index(self) -> usize {
match self {
Self::Incoming => 0,
Self::Outgoing => 1,
Self::Worker => 2,
}
}
}