pub trait Snapshot {
fn list_snapshots<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ResponseListSnapshots> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: Sync + 'async_trait,
{ ... }
fn offer_snapshot<'life0, 'async_trait>(
&'life0 self,
_request: RequestOfferSnapshot
) -> Pin<Box<dyn Future<Output = ResponseOfferSnapshot> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: Sync + 'async_trait,
{ ... }
fn load_snapshot_chunk<'life0, 'async_trait>(
&'life0 self,
_request: RequestLoadSnapshotChunk
) -> Pin<Box<dyn Future<Output = ResponseLoadSnapshotChunk> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: Sync + 'async_trait,
{ ... }
fn apply_snapshot_chunk<'life0, 'async_trait>(
&'life0 self,
_request: RequestApplySnapshotChunk
) -> Pin<Box<dyn Future<Output = ResponseApplySnapshotChunk> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: Sync + 'async_trait,
{ ... }
}
Expand description
Snapshot, include list_snapshots
, offer_snapshot
, load_snapshot_chunk
and
apply_snapshot_chunk
.