Trait mithril_aggregator::SnapshotUploader

source ·
pub trait SnapshotUploader: Sync + Send {
    // Required method
    fn upload_snapshot<'life0, 'life1, 'async_trait>(
        &'life0 self,
        snapshot_filepath: &'life1 Path,
    ) -> Pin<Box<dyn Future<Output = StdResult<String>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}
Expand description

SnapshotUploader represents a snapshot uploader interactor

Required Methods§

source

fn upload_snapshot<'life0, 'life1, 'async_trait>( &'life0 self, snapshot_filepath: &'life1 Path, ) -> Pin<Box<dyn Future<Output = StdResult<String>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Upload a snapshot

Implementors§