Skip to main content

CommandInterceptor

Trait CommandInterceptor 

Source
pub trait CommandInterceptor: Send + Sync {
    // Required method
    fn intercept(&self, program: &str, args: &[String]) -> InterceptDecision;
}

Required Methods§

Source

fn intercept(&self, program: &str, args: &[String]) -> InterceptDecision

Implementors§