Trait AttemptLogStore

Source
pub trait AttemptLogStore {
    // Required methods
    fn log_attempt<'life0, 'async_trait>(
        &'life0 self,
        attempt: Attempt,
    ) -> Pin<Box<dyn Future<Output = Result<(), AttemptLogStoreError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get_attempts_for_run<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        project: &'life1 ValidShardedId<ProjectId>,
        id: &'life2 RunId,
        pagination: PaginationIn,
    ) -> Pin<Box<dyn Future<Output = Result<PaginatedResponse<Attempt>, AttemptLogStoreError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
    fn get_attempt<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        project: &'life1 ValidShardedId<ProjectId>,
        id: &'life2 AttemptId,
    ) -> Pin<Box<dyn Future<Output = Result<Option<Attempt>, AttemptLogStoreError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
}

Required Methods§

Source

fn log_attempt<'life0, 'async_trait>( &'life0 self, attempt: Attempt, ) -> Pin<Box<dyn Future<Output = Result<(), AttemptLogStoreError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn get_attempts_for_run<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, project: &'life1 ValidShardedId<ProjectId>, id: &'life2 RunId, pagination: PaginationIn, ) -> Pin<Box<dyn Future<Output = Result<PaginatedResponse<Attempt>, AttemptLogStoreError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Source

fn get_attempt<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, project: &'life1 ValidShardedId<ProjectId>, id: &'life2 AttemptId, ) -> Pin<Box<dyn Future<Output = Result<Option<Attempt>, AttemptLogStoreError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Implementors§