Trait ckb_rocksdb::ops::WriteOps

source ·
pub trait WriteOps {
    // Required method
    fn write_full(
        &self,
        batch: &WriteBatch,
        writeopts: Option<&WriteOptions>
    ) -> Result<(), Error>;

    // Provided methods
    fn write(&self, batch: &WriteBatch) -> Result<(), Error> { ... }
    fn write_opt(
        &self,
        batch: &WriteBatch,
        writeopts: &WriteOptions
    ) -> Result<(), Error> { ... }
    fn write_without_wal(&self, batch: &WriteBatch) -> Result<(), Error> { ... }
}

Required Methods§

source

fn write_full( &self, batch: &WriteBatch, writeopts: Option<&WriteOptions> ) -> Result<(), Error>

Provided Methods§

source

fn write(&self, batch: &WriteBatch) -> Result<(), Error>

source

fn write_opt( &self, batch: &WriteBatch, writeopts: &WriteOptions ) -> Result<(), Error>

source

fn write_without_wal(&self, batch: &WriteBatch) -> Result<(), Error>

Implementors§