pub trait PerformanceAnalysisMethod {
// Required methods
fn analyze(
&self,
data: &[PerformanceSnapshot],
) -> DeviceResult<PerformanceAnalysis>;
fn get_method_name(&self) -> String;
}Expand description
Performance analysis method trait
Required Methods§
fn analyze( &self, data: &[PerformanceSnapshot], ) -> DeviceResult<PerformanceAnalysis>
fn get_method_name(&self) -> String
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".