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

Whether to verify the saved checksums on read.

default: false

Whether to fill the internal cache with the results of the read.

default: true

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]

[src]

Return a ReadOptions struct with the default values.