Skip to main content

LatencyMonitor

Trait LatencyMonitor 

Source
pub trait LatencyMonitor: Send + Sync {
    // Required method
    fn measure_latency_under_load<'life0, 'async_trait>(
        &'life0 self,
        server_url: String,
        samples: Arc<Mutex<Vec<f64>>>,
        stop: Arc<AtomicBool>,
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn measure_latency_under_load<'life0, 'async_trait>( &'life0 self, server_url: String, samples: Arc<Mutex<Vec<f64>>>, stop: Arc<AtomicBool>, ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§