pub fn put_deploy(&self, deploy: &Deploy) -> Result<bool, Error> {
        let mut txn = self.env.begin_rw_txn()?;
        let outcome = txn.put_value(self.deploy_db, deploy.id(), &deploy, false)?;
        txn.commit()?;
        Ok(outcome)
    }
/// Put a single deploy into storage.
Put a single deploy into storage.
Put a single deploy into storage .
pub fn put_deploy(&self, deploy: &Deploy) -> Result<bool, Error> {
        let mut txn = self.env.begin_rw_txn()?;
        let outcome = txn.put_value(self.deploy_db, deploy.id(), &deploy, false)?;
        txn.commit()?;
        Ok(outcome)
    }
pub fn put_deploy ( & self , deploy : & Deploy ) -> Result < bool , Error > { let mut txn = self . env . begin_rw_txn ( ) ? ; let outcome = txn . put_value ( self . deploy_db , deploy . id ( ) , & deploy , false ) ? ; txn . commit ( ) ? ; Ok ( outcome ) }
Put a single deploy into storage.
Put a single deploy into storage .
&self
deploy
&Deploy
&self
deploy
&Deploy