pub trait SnapshotWriter: Send + Sync {
// Required method
fn take_snapshot(&self) -> Result<i64, SnapshotError>;
}Expand description
Trait for writing snapshots.
Required Methods§
Sourcefn take_snapshot(&self) -> Result<i64, SnapshotError>
fn take_snapshot(&self) -> Result<i64, SnapshotError>
Take a snapshot, returning the snapshot ID.