1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
pub mod independent;
pub mod monolithic;

pub enum Status {
    Paused,
    Done,
}

impl Status {
    #[must_use]
    pub fn paused(paused: bool) -> Self {
        if paused {
            Self::Paused
        } else {
            Self::Done
        }
    }
}