risingwave_hummock_trace::replay

Trait LocalReplayRead

source
pub trait LocalReplayRead {
    // Required methods
    fn iter<'life0, 'async_trait>(
        &'life0 self,
        key_range: (Bound<TracedBytes>, Bound<TracedBytes>),
        read_options: TracedReadOptions,
    ) -> Pin<Box<dyn Future<Output = Result<BoxStream<'static, Result<ReplayItem>>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get<'life0, 'async_trait>(
        &'life0 self,
        key: TracedBytes,
        read_options: TracedReadOptions,
    ) -> Pin<Box<dyn Future<Output = Result<Option<TracedBytes>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

source

fn iter<'life0, 'async_trait>( &'life0 self, key_range: (Bound<TracedBytes>, Bound<TracedBytes>), read_options: TracedReadOptions, ) -> Pin<Box<dyn Future<Output = Result<BoxStream<'static, Result<ReplayItem>>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn get<'life0, 'async_trait>( &'life0 self, key: TracedBytes, read_options: TracedReadOptions, ) -> Pin<Box<dyn Future<Output = Result<Option<TracedBytes>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§