pub trait GetHyperlightMetric<T> {
// Required method
fn metric(&self) -> Result<&T>;
}Expand description
A trait that should be implemented by all hyperlight metric definitions to convert the metric into a HyperlightMetric
pub trait GetHyperlightMetric<T> {
// Required method
fn metric(&self) -> Result<&T>;
}A trait that should be implemented by all hyperlight metric definitions to convert the metric into a HyperlightMetric