pub trait DebugProxyInterface: Send + Sync {
type ExecuteResponseFut: Future<Output = Result<DebugExecuteResult, Error>> + Send;
type ListCommandsResponseFut: Future<Output = Result<DebugListCommandsResult, Error>> + Send;
// Required methods
fn execute(
&self,
args: &[String],
stdout: Socket,
stderr: Socket,
) -> Self::ExecuteResponseFut;
fn list_commands(&self) -> Self::ListCommandsResponseFut;
}Required Associated Types§
type ExecuteResponseFut: Future<Output = Result<DebugExecuteResult, Error>> + Send
type ListCommandsResponseFut: Future<Output = Result<DebugListCommandsResult, Error>> + Send
Required Methods§
fn execute( &self, args: &[String], stdout: Socket, stderr: Socket, ) -> Self::ExecuteResponseFut
fn list_commands(&self) -> Self::ListCommandsResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".