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