Skip to main content

ExecutionPlanMetricsSetExt

Trait ExecutionPlanMetricsSetExt 

Source
pub trait ExecutionPlanMetricsSetExt {
    // Required methods
    fn new_count(&self, name: &'static str, partition: usize) -> Count;
    fn new_time(&self, name: &'static str, partition: usize) -> Time;
    fn new_gauge(&self, name: &'static str, partition: usize) -> Gauge;
}

Required Methods§

Source

fn new_count(&self, name: &'static str, partition: usize) -> Count

Source

fn new_time(&self, name: &'static str, partition: usize) -> Time

Source

fn new_gauge(&self, name: &'static str, partition: usize) -> Gauge

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl ExecutionPlanMetricsSetExt for ExecutionPlanMetricsSet

Source§

fn new_count(&self, name: &'static str, partition: usize) -> Count

Source§

fn new_time(&self, name: &'static str, partition: usize) -> Time

Source§

fn new_gauge(&self, name: &'static str, partition: usize) -> Gauge

Implementors§