pub trait Snapshotter: Sync + Send {
    // Required method
    fn snapshot(&self, archive_name: &str) -> StdResult<OngoingSnapshot>;
}
Expand description

Define the ability to create snapshots.

Required Methods§

source

fn snapshot(&self, archive_name: &str) -> StdResult<OngoingSnapshot>

Create a new snapshot with the given archive name.

Implementors§