use std::fmt::Display;
#[derive(Copy, Clone, Debug, Hash, PartialEq, Eq)]
pub enum WatcherChangeKind {
Create,
Update,
Delete,
}
impl Display for WatcherChangeKind {
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
match self {
WatcherChangeKind::Create => write!(f, "create"),
WatcherChangeKind::Update => write!(f, "update"),
WatcherChangeKind::Delete => write!(f, "delete"),
}
}
}