pub trait DiagnosticsProvider: Send + Sync {
    // Required methods
    fn snapshot<'life0, 'life1, 'life2, 'async_trait, D>(
        &'life0 self,
        accessor: &'life1 Option<String>,
        selectors: &'life2 [String]
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Data<D>>, Error>> + Send + 'async_trait>>
       where D: 'async_trait + DiagnosticsData,
             Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
    fn get_accessor_paths<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<Vec<String>, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

source

fn snapshot<'life0, 'life1, 'life2, 'async_trait, D>( &'life0 self, accessor: &'life1 Option<String>, selectors: &'life2 [String] ) -> Pin<Box<dyn Future<Output = Result<Vec<Data<D>>, Error>> + Send + 'async_trait>>
where D: 'async_trait + DiagnosticsData, Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

source

fn get_accessor_paths<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<Vec<String>, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Lists all ArchiveAccessor selectors.

Object Safety§

This trait is not object safe.

Implementors§