start_update

Function start_update 

Source
pub async fn start_update(
    update_url: &Url,
    options: Options,
    installer_proxy: &InstallerProxy,
    reboot_controller_server_end: Option<ServerEnd<RebootControllerMarker>>,
    signature: Option<&[u8]>,
) -> 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.