Trait engine_traits::snapshot::Snapshot[][src]

pub trait Snapshot where
    Self: 'static + Peekable + Iterable + Send + Sync + Sized + Debug
{ fn cf_names(&self) -> Vec<&str>; }
[]

A consistent read-only view of the database.

Snapshots can be sent and shared, but not cloned. To make a snapshot clonable, call into_sync to create a SyncSnapshot.

Required methods

fn cf_names(&self) -> Vec<&str>[src]

Implementors

impl Snapshot for PanicSnapshot

impl Snapshot for RocksSnapshot