pub trait DupWriteCursor<'txn, T: DupTable>: WriteCursor<'txn, T> + DupReadCursor<'txn, T> {
// Required methods
fn append_dup(&mut self, key: &T::Key, value: &T::Value);
fn remove_all_dup(&mut self);
}Required Methods§
Sourcefn append_dup(&mut self, key: &T::Key, value: &T::Value)
fn append_dup(&mut self, key: &T::Key, value: &T::Value)
Appends a key/value pair to the end of the database. This operation fails if the key is less than the last key.
Sourcefn remove_all_dup(&mut self)
fn remove_all_dup(&mut self)
Removes all duplicate values for the current key.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".