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§
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
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".