Trait RebootWatcherProxyInterface

Source
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§

Source

type OnRebootResponseFut: Future<Output = Result<(), Error>> + Send

Required Methods§

Source

fn on_reboot(&self, options: &RebootOptions) -> Self::OnRebootResponseFut

Implementors§