use core::fmt;
#[non_exhaustive]
#[derive(Clone)]
pub enum Action {
Check,
Uncheck,
Drop,
SetContent,
SetPriority,
}
impl fmt::Display for Action {
#[inline]
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
match *self {
Self::Check => write!(f, "check"),
Self::Uncheck => write!(f, "uncheck"),
Self::Drop => write!(f, "drop"),
Self::SetContent => write!(f, "set content"),
Self::SetPriority => write!(f, "set priority"),
}
}
}