Skip to main content

DebugProxyInterface

Trait DebugProxyInterface 

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

Required Methods§

Source

fn execute( &self, args: &[String], stdout: Socket, stderr: Socket, ) -> Self::ExecuteResponseFut

Source

fn list_commands(&self) -> Self::ListCommandsResponseFut

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§