omaha_client::metrics

Trait MetricsReporter

Source
pub trait MetricsReporter {
    // Required method
    fn report_metrics(&mut self, metrics: Metrics) -> Result<(), Error>;
}

Required Methods§

Source

fn report_metrics(&mut self, metrics: Metrics) -> Result<(), Error>

Implementations on Foreign Types§

Source§

impl<T> MetricsReporter for &mut T
where T: MetricsReporter,

Source§

fn report_metrics(&mut self, metrics: Metrics) -> Result<(), Error>

Source§

impl<T> MetricsReporter for Rc<RefCell<T>>
where T: MetricsReporter,

Source§

fn report_metrics(&mut self, metrics: Metrics) -> Result<(), Error>

Implementors§