Skip to main content

LatencyInfo

Trait LatencyInfo 

Source
pub trait LatencyInfo {
    // Required methods
    fn latency(&self) -> f64;
    fn successful(&self) -> bool;
}

Required Methods§

Source

fn latency(&self) -> f64

Source

fn successful(&self) -> bool

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl LatencyInfo for IterationInfo

Source§

fn latency(&self) -> f64

Source§

fn successful(&self) -> bool

Source§

impl LatencyInfo for RequestInfo

Source§

fn latency(&self) -> f64

Source§

fn successful(&self) -> bool

Implementors§