Skip to main content

InstrumentsSnapshotWriter

Trait InstrumentsSnapshotWriter 

Source
pub trait InstrumentsSnapshotWriter: Send + Sync {
    // Required method
    fn write_instruments_snapshot_sync(
        &self,
        input: &InstrumentsSnapshotInput,
    ) -> Result<i64>;
}
Expand description

Instruments snapshot persistence.

Required Methods§

Source

fn write_instruments_snapshot_sync( &self, input: &InstrumentsSnapshotInput, ) -> Result<i64>

Write a complete instruments snapshot in a single transaction. Returns the new snapshot ID.

Implementors§