pub trait Component {
    // Required methods
    fn get_name(&self) -> String;
    fn get_path(&self) -> String;
    fn get_regex_matcher(&self) -> String;
    fn matches_log(&self, raw_log: &Data<Logs>) -> bool;
}
Expand description

Represents a component under test. The name is the test-local name assigned to the component, whereas the path is the relative path to its component manifest (ex: “#meta/client.cm”).

Required Methods§

source

fn get_name(&self) -> String

source

fn get_path(&self) -> String

source

fn get_regex_matcher(&self) -> String

source

fn matches_log(&self, raw_log: &Data<Logs>) -> bool

Implementors§

source§

impl<'a> Component for Client<'a>

source§

impl<'a> Component for Proxy<'a>

source§

impl<'a> Component for Server<'a>