Struct rocksdb::WriteBatch [−][src]
Implementations
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]
pub fn pop_save_point(&mut self) -> Result<(), String>
[src]
pub fn data(&self) -> &[u8]ⓘ
[src]
pub fn append(&mut self, src: &[u8])
[src]
pub fn iterate<F>(&self, cfs: &[&str], iterator_fn: F) where
F: FnMut(&str, DBValueType, &[u8], Option<&[u8]>),
[src]
F: FnMut(&str, DBValueType, &[u8], Option<&[u8]>),
pub fn iter(&self) -> WriteBatchIter<'_>ⓘNotable traits for WriteBatchIter<'a>
impl<'a> Iterator for WriteBatchIter<'a> type Item = (DBValueType, u32, &'a [u8], &'a [u8]);
[src]
Notable traits for WriteBatchIter<'a>
impl<'a> Iterator for WriteBatchIter<'a> type Item = (DBValueType, u32, &'a [u8], &'a [u8]);
Trait Implementations
impl Default for WriteBatch
[src][+]
impl Drop for WriteBatch
[src][+]
impl Send for WriteBatch
[src]
impl Writable for WriteBatch
[src][+]
Auto Trait Implementations
impl RefUnwindSafe for WriteBatch
impl !Sync for WriteBatch
impl Unpin for WriteBatch
impl UnwindSafe for WriteBatch
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,