pub fn spawn(self) -> JoinHandle<Result<TrunkLinkPipelineOutput>> {
        spawn(async move {
            self.progress.set_message("copying & hashing icon");
            let hashed_file_output = self.asset.copy_with_hash(&self.cfg.staging_dist).await?;
            self.progress.set_message("finished copying & hashing icon");
            Ok(TrunkLinkPipelineOutput::Icon(IconOutput {
                cfg: self.cfg.clone(),
                id: self.id,
                file: hashed_file_output,
            }))
        })
    }
/// Spawn the pipeline for this asset type.
Spawn the pipeline for this asset type.
Spawn the pipeline for this asset type .
pub fn spawn(self) -> JoinHandle<Result<TrunkLinkPipelineOutput>> {
        spawn(async move {
            self.progress.set_message("copying & hashing icon");
            let hashed_file_output = self.asset.copy_with_hash(&self.cfg.staging_dist).await?;
            self.progress.set_message("finished copying & hashing icon");
            Ok(TrunkLinkPipelineOutput::Icon(IconOutput {
                cfg: self.cfg.clone(),
                id: self.id,
                file: hashed_file_output,
            }))
        })
    }
pub fn spawn ( self ) -> JoinHandle < Result < TrunkLinkPipelineOutput > > { spawn ( async move { self . progress . set_message ( " " ) ; let hashed_file_output = self . asset . copy_with_hash ( & self . cfg . staging_dist ) . await ? ; self . progress . set_message ( " " ) ; Ok ( TrunkLinkPipelineOutput :: Icon ( IconOutput { cfg : self . cfg . clone ( ) , id : self . id , file : hashed_file_output , } ) ) } ) }
Spawn the pipeline for this asset type.
Spawn the pipeline for this asset type .
self
self