Skip to main content

RetryApplyDriver

Trait RetryApplyDriver 

Source
pub trait RetryApplyDriver {
    // Required methods
    fn apply_non_delete<'life0, 'life1, 'async_trait>(
        &'life0 mut self,
        op: &'life1 Op,
    ) -> Pin<Box<dyn Future<Output = Result<AppliedOp>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn is_retryable(&self, err: &Error) -> bool;
}

Required Methods§

Source

fn apply_non_delete<'life0, 'life1, 'async_trait>( &'life0 mut self, op: &'life1 Op, ) -> Pin<Box<dyn Future<Output = Result<AppliedOp>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source

fn is_retryable(&self, err: &Error) -> bool

Implementors§