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;

    // Provided method
    fn dispatch_tracked<'life0, 'async_trait>(
        &'life0 self,
        requests: Vec<TrackedWrite>,
        inputs: usize,
    ) -> Pin<Box<dyn Future<Output = Vec<WriteProgress>> + 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.

Provided Methods§

Source

fn dispatch_tracked<'life0, 'async_trait>( &'life0 self, requests: Vec<TrackedWrite>, inputs: usize, ) -> Pin<Box<dyn Future<Output = Vec<WriteProgress>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§