[−][src]Struct rexrocksdb::rocksdb::WriteBatch
Methods
impl WriteBatch
[src]
pub fn new() -> WriteBatch
[src]
pub fn with_capacity(cap: usize) -> WriteBatch
[src]
pub fn count(&self) -> usize
[src]
pub fn is_empty(&self) -> bool
[src]
pub fn data_size(&self) -> usize
[src]
pub fn clear(&self)
[src]
pub fn set_save_point(&mut self)
[src]
pub fn rollback_to_save_point(&mut self) -> Result<(), String>
[src]
Trait Implementations
impl Writable for WriteBatch
[src]
fn put(&self, key: &[u8], value: &[u8]) -> Result<(), String>
[src]
fn put_cf(&self, cf: &CFHandle, key: &[u8], value: &[u8]) -> Result<(), String>
[src]
fn merge(&self, key: &[u8], value: &[u8]) -> Result<(), String>
[src]
fn merge_cf(
&self,
cf: &CFHandle,
key: &[u8],
value: &[u8]
) -> Result<(), String>
[src]
&self,
cf: &CFHandle,
key: &[u8],
value: &[u8]
) -> Result<(), String>
fn delete(&self, key: &[u8]) -> Result<(), String>
[src]
fn delete_cf(&self, cf: &CFHandle, key: &[u8]) -> Result<(), String>
[src]
fn single_delete(&self, key: &[u8]) -> Result<(), String>
[src]
fn single_delete_cf(&self, cf: &CFHandle, key: &[u8]) -> Result<(), String>
[src]
fn delete_range(&self, begin_key: &[u8], end_key: &[u8]) -> Result<(), String>
[src]
fn delete_range_cf(
&self,
cf: &CFHandle,
begin_key: &[u8],
end_key: &[u8]
) -> Result<(), String>
[src]
&self,
cf: &CFHandle,
begin_key: &[u8],
end_key: &[u8]
) -> Result<(), String>
impl Drop for WriteBatch
[src]
impl Default for WriteBatch
[src]
fn default() -> WriteBatch
[src]
impl Send for WriteBatch
[src]
Auto Trait Implementations
impl !Sync for WriteBatch
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,