Struct parity_rocksdb::rocksdb::WriteBatch
source · [−]pub struct WriteBatch { /* private fields */ }
Implementations
sourceimpl WriteBatch
impl WriteBatch
pub fn new() -> WriteBatch
Trait Implementations
sourceimpl Drop for WriteBatch
impl Drop for WriteBatch
sourceimpl Writable for WriteBatch
impl Writable for WriteBatch
fn put(&self, key: &[u8], value: &[u8]) -> Result<(), String>
fn put_cf(&self, cf: Column, key: &[u8], value: &[u8]) -> Result<(), String>
fn merge(&self, key: &[u8], value: &[u8]) -> Result<(), String>
fn merge_cf(&self, cf: Column, key: &[u8], value: &[u8]) -> Result<(), String>
fn delete(&self, key: &[u8]) -> Result<(), String>
fn delete_cf(&self, cf: Column, key: &[u8]) -> Result<(), String>
Auto Trait Implementations
impl RefUnwindSafe for WriteBatch
impl !Send for WriteBatch
impl !Sync for WriteBatch
impl Unpin for WriteBatch
impl UnwindSafe for WriteBatch
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more