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§