Skip to main content

SnapshotWriter

Trait SnapshotWriter 

Source
pub trait SnapshotWriter: Send + Sync {
    // Required method
    fn take_snapshot(&self) -> Result<i64, SnapshotError>;
}
Expand description

Trait for writing snapshots.

Required Methods§

Source

fn take_snapshot(&self) -> Result<i64, SnapshotError>

Take a snapshot, returning the snapshot ID.

Implementors§