pub trait GrpcServerControllerProxyInterface: Send + Sync {
type StartResponseFut: Future<Output = Result<GrpcServerControllerStartResult, Error>> + Send;
type StopResponseFut: Future<Output = Result<(), Error>> + Send;
// Required methods
fn start(
&self,
payload: &GrpcServerControllerStartRequest,
) -> Self::StartResponseFut;
fn stop(&self) -> Self::StopResponseFut;
}Required Associated Types§
type StartResponseFut: Future<Output = Result<GrpcServerControllerStartResult, Error>> + Send
type StopResponseFut: Future<Output = Result<(), Error>> + Send
Required Methods§
fn start( &self, payload: &GrpcServerControllerStartRequest, ) -> Self::StartResponseFut
fn stop(&self) -> Self::StopResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".