Struct leveldb::database::options::ReadOptions
[-] [+]
[src]
pub struct ReadOptions<'a, K: Key + 'a> {
pub verify_checksums: bool,
pub fill_cache: bool,
pub snapshot: Option<&'a Snapshot<'a, K>>,
}The read options to use for any read operation.
Fields
Methods
impl<'a, K: Key + 'a> ReadOptions<'a, K>
fn new() -> ReadOptions<'a, K>
Return a ReadOptions struct with the default values.