pub fn new(adapter: &'a A) -> Result<Transform<'a, A>> {
        let txn = adapter.rw_transaction()?;
        let next_entry_id = adapter.next_free_entry_id(&txn)?;

        Ok(Transform {
            adapter: adapter,
            txn: txn,
            next_entry_id: next_entry_id,
            new_entries: HashMap::new(),
        })
    }
/// Create a new transform for the current adapter
Create a new transform for the current adapter
Create a new transform for the current adapter
pub fn new(adapter: &'a A) -> Result<Transform<'a, A>> {
        let txn = adapter.rw_transaction()?;
        let next_entry_id = adapter.next_free_entry_id(&txn)?;
        Ok(Transform {
            adapter: adapter,
            txn: txn,
            next_entry_id: next_entry_id,
            new_entries: HashMap::new(),
        })
    }
pub fn new ( adapter : & ' a A ) -> Result < Transform < ' a , A > > { let txn = adapter . rw_transaction ( ) ? ; let next_entry_id = adapter . next_free_entry_id ( & txn ) ? ; Ok ( Transform { adapter : adapter , txn : txn , next_entry_id : next_entry_id , new_entries : HashMap :: new ( ) , } ) }
Create a new transform for the current adapter
Create a new transform for the current adapter
adapter
&'a A
adapter
&'a A