Skip to main content

DebugProxyInterface

Trait DebugProxyInterface 

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

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§