#[derive(Copy, Debug, Eq, PartialEq, Clone)]
pub enum Show {
All,
Names,
Failed,
}
impl Show {
#[must_use]
pub(crate) fn display_command(self) -> bool {
match self {
Show::All | Show::Names => true,
Show::Failed => false,
}
}
#[must_use]
pub(crate) fn display_success(self) -> bool {
match self {
Show::All => true,
Show::Names | Show::Failed => false,
}
}
}