pub fn delete<K: AsRef<[u8]>>(&mut self, key: K) -> Result<(), Error> {
        let key = key.as_ref();

        unsafe {
            ffi::rocksdb_writebatch_delete(
                self.inner,
                key.as_ptr() as *const c_char,
                key.len() as size_t,
            );
            Ok(())
        }
    }
/// Remove the database entry for key.
///
/// Returns an error if the key was not found.
Remove the database entry for key.
Returns an error if the key was not found.
Remove the database entry for key . Returns an error if the key was not found .
pub fn delete<K: AsRef<[u8]>>(&mut self, key: K) -> Result<(), Error> {
        let key = key.as_ref();
        unsafe {
            ffi::rocksdb_writebatch_delete(
                self.inner,
                key.as_ptr() as *const c_char,
                key.len() as size_t,
            );
            Ok(())
        }
    }
pub fn delete < K : AsRef < [ u8 ] > > ( & mut self , key : K ) -> Result < ( ) , Error > { let key = key . as_ref ( ) ; unsafe { ffi :: rocksdb_writebatch_delete ( self . inner , key . as_ptr ( ) as * const c_char , key . len ( ) as size_t , ) ; Ok ( ( ) ) } }
Remove the database entry for key.
Remove the database entry for key .
&mut self
key
K
&mut self
key
K