Skip to main content

PhysicalFlushWriteDispatcher

Trait PhysicalFlushWriteDispatcher 

Source
pub trait PhysicalFlushWriteDispatcher: Send + Sync {
    // Required method
    fn dispatch<'life0, 'async_trait>(
        &'life0 self,
        requests: Vec<RegionRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<usize>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Dispatches the region requests produced by a physical flush.

Required Methods§

Source

fn dispatch<'life0, 'async_trait>( &'life0 self, requests: Vec<RegionRequest>, ) -> Pin<Box<dyn Future<Output = Result<usize>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Dispatches one physical flush together, sharing routing refreshes across its writes.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§