async fn finalize_deployment(&self, release: Release) -> Result<Release> {
        log::info!(
            "staged deployment '{}' available, proceeding to finalize it",
            release.version
        );

        let msg = rpm_ostree::FinalizeDeployment { release };
        let upgrade = self
            .rpm_ostree_actor
            .send(msg)
            .unwrap_or_else(|e| Err(e.into()))
            .await;

        upgrade
    }
/// Finalize a deployment (unlock and reboot).
Finalize a deployment (unlock and reboot).
Finalize a deployment ( unlock and reboot ) .
async fn finalize_deployment(&self, release: Release) -> Result<Release> {
        log::info!(
            "staged deployment '{}' available, proceeding to finalize it",
            release.version
        );
        let msg = rpm_ostree::FinalizeDeployment { release };
        let upgrade = self
            .rpm_ostree_actor
            .send(msg)
            .unwrap_or_else(|e| Err(e.into()))
            .await;
        upgrade
    }
async fn finalize_deployment ( & self , release : Release ) -> Result < Release > { log :: info ! ( " " release version ) ; let msg = rpm_ostree :: FinalizeDeployment { release } ; let upgrade = self . rpm_ostree_actor . send ( msg ) . unwrap_or_else ( | e | Err ( e . into ( ) ) ) . await ; upgrade }
Finalize a deployment (unlock and reboot).
Finalize a deployment ( unlock and reboot ) .
&self
release
Release