fidl_fuchsia_update

Trait ManagerProxyInterface

Source
pub trait ManagerProxyInterface: Send + Sync {
    type CheckNowResponseFut: Future<Output = Result<ManagerCheckNowResult, Error>> + Send;
    type PerformPendingRebootResponseFut: Future<Output = Result<bool, Error>> + Send;

    // Required methods
    fn check_now(
        &self,
        options: &CheckOptions,
        monitor: Option<ClientEnd<MonitorMarker>>,
    ) -> Self::CheckNowResponseFut;
    fn perform_pending_reboot(&self) -> Self::PerformPendingRebootResponseFut;
    fn monitor_all_update_checks(
        &self,
        attempts_monitor: ClientEnd<AttemptsMonitorMarker>,
    ) -> Result<(), Error>;
}

Required Associated Types§

Required Methods§

Source

fn check_now( &self, options: &CheckOptions, monitor: Option<ClientEnd<MonitorMarker>>, ) -> Self::CheckNowResponseFut

Source

fn perform_pending_reboot(&self) -> Self::PerformPendingRebootResponseFut

Source

fn monitor_all_update_checks( &self, attempts_monitor: ClientEnd<AttemptsMonitorMarker>, ) -> Result<(), Error>

Implementors§