Skip to main content

ServerPinger

Trait ServerPinger 

Source
pub trait ServerPinger: Send + Sync {
    // Required method
    fn ping_server<'life0, 'life1, 'async_trait>(
        &'life0 self,
        server: &'life1 Server,
    ) -> Pin<Box<dyn Future<Output = Result<(f64, f64, f64, Vec<f64>), Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

Source

fn ping_server<'life0, 'life1, 'async_trait>( &'life0 self, server: &'life1 Server, ) -> Pin<Box<dyn Future<Output = Result<(f64, f64, f64, Vec<f64>), Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§