pub trait CommandPolicy: Send + Sync {
// Required method
fn check(&self, invocation: &CommandInvocation) -> Result<()>;
}pub trait CommandPolicy: Send + Sync {
// Required method
fn check(&self, invocation: &CommandInvocation) -> Result<()>;
}