Function sanakirja_core::btree::put::put[][src]

pub fn put<T: AllocPage, K: Storable + ?Sized + Debug, V: Storable + ?Sized + Debug, P: BTreeMutPage<K, V>>(
    txn: &mut T,
    db: &mut Db_<K, V, P>,
    key: &K,
    value: &V
) -> Result<bool, T::Error>

Insert an entry into a database, returning false if and only if the exact same entry (key and value) was already in the database.