Skip to main content

EcosystemAwareness

Trait EcosystemAwareness 

Source
pub trait EcosystemAwareness: Send + Sync {
    // Required methods
    fn matches(&self, program: &str, args: &[String]) -> bool;
    fn extract(
        &self,
        stdout: &str,
        stderr: &str,
        exit_code: i32,
    ) -> AwarenessMap;
}

Required Methods§

Source

fn matches(&self, program: &str, args: &[String]) -> bool

Source

fn extract(&self, stdout: &str, stderr: &str, exit_code: i32) -> AwarenessMap

Implementors§