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§
fn schedule_reboot( &self, reason: CollaborativeRebootReason, cancel: Option<EventPair>, ) -> Self::ScheduleRebootResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".