pub trait DebugBrokerProxyInterface: Send + Sync {
type SendDebugCommandResponseFut: Future<Output = Result<i32, Error>> + Send;
type SetTracingEnabledResponseFut: Future<Output = Result<i32, Error>> + Send;
// Required methods
fn send_debug_command(
&self,
command: &str,
) -> Self::SendDebugCommandResponseFut;
fn set_tracing_enabled(
&self,
enabled: bool,
) -> Self::SetTracingEnabledResponseFut;
}Required Associated Types§
type SendDebugCommandResponseFut: Future<Output = Result<i32, Error>> + Send
type SetTracingEnabledResponseFut: Future<Output = Result<i32, Error>> + Send
Required Methods§
fn send_debug_command(&self, command: &str) -> Self::SendDebugCommandResponseFut
fn set_tracing_enabled( &self, enabled: bool, ) -> Self::SetTracingEnabledResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".