RingBufferPreUpdateInterceptor

Trait RingBufferPreUpdateInterceptor 

Source
pub trait RingBufferPreUpdateInterceptor<T: CommandTransaction>: Send + Sync {
    // Required method
    fn intercept<'a, 'life0, 'life1, 'async_trait>(
        &'life0 self,
        ctx: &'life1 mut RingBufferPreUpdateContext<'a, T>,
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'a: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

Source

fn intercept<'a, 'life0, 'life1, 'async_trait>( &'life0 self, ctx: &'life1 mut RingBufferPreUpdateContext<'a, T>, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§