1 2 3 4 5 6 7
pub trait IsRunning { fn is_running(&mut self) -> anyhow::Result<bool>; } pub trait IsHolding { fn is_holding(&mut self) -> anyhow::Result<bool>; }