Struct leveldb::database::snapshots::Snapshot [] [src]

pub struct Snapshot<'a, K: Key + 'a> { /* fields omitted */ }

A database snapshot

Represents a database at a certain point in time, and allows for all read operations (get and iteration).

Methods

impl<'a, K: Key> Snapshot<'a, K>
[src]

[src]

fetches a key from the database

Inserts this snapshot into ReadOptions before reading

[src]

Trait Implementations

impl<'a, K: Key + 'a> Iterable<'a, K> for Snapshot<'a, K>
[src]

[src]

Return an Iterator iterating over (Key,Value) pairs

[src]

Returns an Iterator iterating over Keys only.

[src]

Returns an Iterator iterating over Values only.