fidl_fuchsia_update_installer_ext

Function start_update

Source
pub async fn start_update(
    update_url: &AbsolutePackageUrl,
    options: Options,
    installer_proxy: &InstallerProxy,
    reboot_controller_server_end: Option<ServerEnd<RebootControllerMarker>>,
) -> Result<UpdateAttempt, UpdateAttemptError>
Expand description

Checks if an update can be started and returns the UpdateAttempt containing the attempt_id and MonitorRequestStream to the client.