Skip to main content

PromWriteBatcher

Trait PromWriteBatcher 

Source
trait PromWriteBatcher: Send + Sync {
    // Required method
    fn submit<'life0, 'async_trait>(
        &'life0 self,
        requests: RowInsertRequests,
        ctx: QueryContextRef,
    ) -> Pin<Box<dyn Future<Output = Result<u64>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn submit<'life0, 'async_trait>( &'life0 self, requests: RowInsertRequests, ctx: QueryContextRef, ) -> Pin<Box<dyn Future<Output = Result<u64>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§