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