pub trait RebootWatcherProxyInterface: Send + Sync {
type OnRebootResponseFut: Future<Output = Result<(), Error>> + Send;
// Required method
fn on_reboot(&self, options: &RebootOptions) -> Self::OnRebootResponseFut;
}Required Associated Types§
Required Methods§
fn on_reboot(&self, options: &RebootOptions) -> Self::OnRebootResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".