pub trait InfluxdbLineProtocolHandler {
    // Required method
    fn exec<'life0, 'async_trait>(
        &'life0 self,
        request: InfluxdbRequest,
        ctx: QueryContextRef,
    ) -> Pin<Box<dyn Future<Output = Result<Output>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

source

fn exec<'life0, 'async_trait>( &'life0 self, request: InfluxdbRequest, ctx: QueryContextRef, ) -> Pin<Box<dyn Future<Output = Result<Output>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

A successful request will not return a response. Only on error will the socket return a line of data.

Implementors§