pub async fn try_caching_home(&self, db: DB) -> Result<CachingHome, Report> {
        let signer = self.get_signer(&self.home.name).await;
        let home = self.home.try_into_home(signer).await?;
        let indexer = Arc::new(self.try_home_indexer().await?);
        let optics_db = OpticsDB::new(home.name(), db);
        Ok(CachingHome::new(home, optics_db, indexer))
    }
/// Try to get a home object
Try to get a home object
Try to get a home object
pub async fn try_caching_home(&self, db: DB) -> Result<CachingHome, Report> {
        let signer = self.get_signer(&self.home.name).await;
        let home = self.home.try_into_home(signer).await?;
        let indexer = Arc::new(self.try_home_indexer().await?);
        let optics_db = OpticsDB::new(home.name(), db);
        Ok(CachingHome::new(home, optics_db, indexer))
    }
pub async fn try_caching_home ( & self , db : DB ) -> Result < CachingHome , Report > { let signer = self . get_signer ( & self . home . name ) . await ; let home = self . home . try_into_home ( signer ) . await ? ; let indexer = Arc :: new ( self . try_home_indexer ( ) . await ? ) ; let optics_db = OpticsDB :: new ( home . name ( ) , db ) ; Ok ( CachingHome :: new ( home , optics_db , indexer ) ) }
Try to get a home object
Try to get a home object
&self
db
DB
&self
db
DB