Trait leveldb::database::snapshots::Snapshots [-] [+] [src]

pub trait Snapshots<K> {
    fn snapshot<'a>(&'a self) -> Snapshot<'a, K>;
}

Structs implementing the Snapshots trait can be snapshotted.

Required Methods

fn snapshot<'a>(&'a self) -> Snapshot<'a, K>

Creates a snapshot and returns a struct representing it.

Implementors