pub trait CommandInterceptor: Send + Sync {
// Required method
fn intercept(&self, program: &str, args: &[String]) -> InterceptDecision;
}Required Methods§
fn intercept(&self, program: &str, args: &[String]) -> InterceptDecision
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".