pub trait Loader<S: Metadata> {
    // Required method
    fn load<'life0, 'async_trait>(
        &'life0 self,
        id: MetaSnapshotId,
    ) -> Pin<Box<dyn Future<Output = BackupResult<MetaSnapshot<S>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Loader gets, validates and amends MetaSnapshot.

Required Methods§

source

fn load<'life0, 'async_trait>( &'life0 self, id: MetaSnapshotId, ) -> Pin<Box<dyn Future<Output = BackupResult<MetaSnapshot<S>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§