Skip to main content

FleetStore

Trait FleetStore 

Source
pub trait FleetStore: Send + Sync {
    // Required methods
    fn record_dependency_events<'life0, 'life1, 'async_trait>(
        &'life0 self,
        request: &'life1 RecordDependencyEventRequest,
    ) -> Pin<Box<dyn Future<Output = Result<RecordDependencyEventResponse, StoreError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn list_fleet_alerts<'life0, 'life1, 'async_trait>(
        &'life0 self,
        query: &'life1 ListFleetAlertsQuery,
    ) -> Pin<Box<dyn Future<Output = Result<ListFleetAlertsResponse, StoreError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn dependency_impact<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        dep_name: &'life1 str,
        query: &'life2 DependencyImpactQuery,
    ) -> Pin<Box<dyn Future<Output = Result<DependencyImpactResponse, StoreError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
}
Expand description

Trait for fleet-wide dependency event storage operations.

Required Methods§

Source

fn record_dependency_events<'life0, 'life1, 'async_trait>( &'life0 self, request: &'life1 RecordDependencyEventRequest, ) -> Pin<Box<dyn Future<Output = Result<RecordDependencyEventResponse, StoreError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Records dependency change events.

Source

fn list_fleet_alerts<'life0, 'life1, 'async_trait>( &'life0 self, query: &'life1 ListFleetAlertsQuery, ) -> Pin<Box<dyn Future<Output = Result<ListFleetAlertsResponse, StoreError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Lists fleet-wide alerts (correlated regressions across projects).

Source

fn dependency_impact<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, dep_name: &'life1 str, query: &'life2 DependencyImpactQuery, ) -> Pin<Box<dyn Future<Output = Result<DependencyImpactResponse, StoreError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Gets the impact of a specific dependency across projects.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§