CollaborativeRebootSchedulerProxyInterface

Trait CollaborativeRebootSchedulerProxyInterface 

Source
pub trait CollaborativeRebootSchedulerProxyInterface: Send + Sync {
    type ScheduleRebootResponseFut: Future<Output = Result<(), Error>> + Send;

    // Required method
    fn schedule_reboot(
        &self,
        reason: CollaborativeRebootReason,
        cancel: Option<EventPair>,
    ) -> Self::ScheduleRebootResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§