pub trait DebugProxyInterface: Send + Sync {
type ConnectTargetResponseFut: Future<Output = Result<DebugConnectTargetResult, Error>> + Send;
type GetControllerPropertiesResponseFut: Future<Output = Result<DebugGetControllerPropertiesResponse, Error>> + Send;
// Required methods
fn connect_target(
&self,
target_id: u8,
server: ServerEnd<DeviceMarker>,
) -> Self::ConnectTargetResponseFut;
fn get_controller_properties(
&self,
) -> Self::GetControllerPropertiesResponseFut;
}Required Associated Types§
type ConnectTargetResponseFut: Future<Output = Result<DebugConnectTargetResult, Error>> + Send
type GetControllerPropertiesResponseFut: Future<Output = Result<DebugGetControllerPropertiesResponse, Error>> + Send
Required Methods§
fn connect_target( &self, target_id: u8, server: ServerEnd<DeviceMarker>, ) -> Self::ConnectTargetResponseFut
fn get_controller_properties(&self) -> Self::GetControllerPropertiesResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".