fn put_many<'a, T>(
        &self,
        txn: &mut T,
        pairs: impl Iterator<Item = (&'a K, &'a V)>,
    ) -> Result<(), Self::Error>
    where
        T: Writable<Handle = Self::Handle>,
        K: ToBytes + 'a,
        V: ToBytes + 'a,
        Self::Error: From<T::Error>,
    {
        for (key, value) in pairs {
            self.put(txn, key, value)?;
        }
        Ok(())
    }
/// Puts multiple key/value pairs into the store in one transaction, potentially returning an
/// error of type `Self::Error` if that fails.
Puts multiple key/value pairs into the store in one transaction, potentially returning an
error of type `Self::Error` if that fails.
Puts multiple key / value pairs into the store in one transaction potentially returning an error of type ` Self :: Error ` if that fails .
fn put_many<'a, T>(
        &self,
        txn: &mut T,
        pairs: impl Iterator<Item = (&'a K, &'a V)>,
    ) -> Result<(), Self::Error>
    where
        T: Writable<Handle = Self::Handle>,
        K: ToBytes + 'a,
        V: ToBytes + 'a,
        Self::Error: From<T::Error>,
    {
        for (key, value) in pairs {
            self.put(txn, key, value)?;
        }
        Ok(())
    }
fn put_many < ' a , T > ( & self , txn : & mut T , pairs : impl Iterator < Item = ( & ' a K , & ' a V ) > , ) -> Result < ( ) , Self :: Error > where T : Writable < Handle = Self :: Handle > , K : ToBytes + ' a , V : ToBytes + ' a , Self :: Error : From < T :: Error > , { for ( key , value ) in pairs { self . put ( txn , key , value ) ? ; } Ok ( ( ) ) }
Puts multiple key/value pairs into the store in one transaction, potentially returning an
error of type `Self::Error` if that fails.
Puts multiple key / value pairs into the store in one transaction potentially returning an error of type ` Self :: Error ` if that fails .
&self
txn
&mut T
pairs
impl Iterator<Item = (&'a K, &'a V)>
&self
txn
&mut T
pairs
impl Iterator<Item = (&'a K, &'a V)>