Struct exonum_leveldb::database::options::ReadOptions
[−]
[src]
pub struct ReadOptions<'a> { pub verify_checksums: bool, pub fill_cache: bool, pub snapshot: Option<&'a Snapshot<'a>>, }
The read options to use for any read operation.
Fields
verify_checksums: bool
Whether to verify the saved checksums on read.
default: false
fill_cache: bool
Whether to fill the internal cache with the results of the read.
default: true
snapshot: Option<&'a Snapshot<'a>>
An optional snapshot to base this operation on.
Consider using the Snapshot
trait instead of setting
this yourself.
default: None
Methods
impl<'a> ReadOptions<'a>
[src]
fn new() -> ReadOptions<'a>
[src]
Return a ReadOptions
struct with the default values.