Struct leveldb::database::options::WriteOptions [-] [+] [src]

pub struct WriteOptions {
    pub sync: bool,
}

The write options to use for a write operation.

Fields

sync

fsync before acknowledging a write operation.

default: false

Methods

impl WriteOptions

fn new() -> WriteOptions

Return a new WriteOptions struct with default settings.

Trait Implementations

Derived Implementations

impl Copy for WriteOptions