Skip to main content

RestarterProxyInterface

Trait RestarterProxyInterface 

Source
pub trait RestarterProxyInterface: Send + Sync {
    type RestartResponseFut: Future<Output = Result<RestarterRestartResult, Error>> + Send;

    // Required method
    fn restart(&self) -> Self::RestartResponseFut;
}

Required Associated Types§

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§