Trait Command

Source
pub trait Command: Sync + Send {
    // Required methods
    fn name(&self) -> &'static str;
    fn config(&self) -> &dyn ConfigPattern;
    fn check_error_plural(&self) -> &'static str;
    fn parse_log(&self, logs: &str) -> Result<Vec<CheckError>>;
}

Required Methods§

Source

fn name(&self) -> &'static str

Source

fn config(&self) -> &dyn ConfigPattern

Source

fn check_error_plural(&self) -> &'static str

Source

fn parse_log(&self, logs: &str) -> Result<Vec<CheckError>>

Implementors§