Trait ckb_rocksdb::ops::Flush

source ·
pub trait Flush {
    // Required method
    fn flush_opt(&self, flushopts: &FlushOptions) -> Result<(), Error>;

    // Provided method
    fn flush(&self) -> Result<(), Error> { ... }
}

Required Methods§

source

fn flush_opt(&self, flushopts: &FlushOptions) -> Result<(), Error>

Provided Methods§

source

fn flush(&self) -> Result<(), Error>

Flushes database memtables to SST files on the disk using default options.

Implementors§

source§

impl<T> Flush for Twhere T: Handle<rocksdb_t> + Write,