Trait Strategy
pub trait Strategy
Controls in which cases the associated code should be run
Required Methods
fn should_run() -> boolReturn
trueif the guard’s associated code should run (in the context where this method is called).