async fn attempt_deploy(&self, release: Release) -> Result<Release> {
        log::info!(
            "target release '{}' selected, proceeding to stage it",
            release.version
        );
        let msg = rpm_ostree::StageDeployment {
            release,
            allow_downgrade: self.allow_downgrade,
        };
        let upgrade = self
            .rpm_ostree_actor
            .send(msg)
            .unwrap_or_else(|e| Err(e.into()))
            .await;

        upgrade
    }
/// Fetch and stage an update, in finalization-locked mode.
Fetch and stage an update, in finalization-locked mode.
Fetch and stage an update in finalization - locked mode .
async fn attempt_deploy(&self, release: Release) -> Result<Release> {
        log::info!(
            "target release '{}' selected, proceeding to stage it",
            release.version
        );
        let msg = rpm_ostree::StageDeployment {
            release,
            allow_downgrade: self.allow_downgrade,
        };
        let upgrade = self
            .rpm_ostree_actor
            .send(msg)
            .unwrap_or_else(|e| Err(e.into()))
            .await;
        upgrade
    }
async fn attempt_deploy ( & self , release : Release ) -> Result < Release > { log :: info ! ( " " release version ) ; let msg = rpm_ostree :: StageDeployment { release , allow_downgrade : self . allow_downgrade , } ; let upgrade = self . rpm_ostree_actor . send ( msg ) . unwrap_or_else ( | e | Err ( e . into ( ) ) ) . await ; upgrade }
Fetch and stage an update, in finalization-locked mode.
Fetch and stage an update in finalization - locked mode .
&self
release
Release