pub trait DeviceProxyInterface: Send + Sync {
type StartAdbResponseFut: Future<Output = Result<DeviceStartAdbResult, Error>> + Send;
type StopAdbResponseFut: Future<Output = Result<DeviceStopAdbResult, Error>> + Send;
// Required methods
fn start_adb(
&self,
interface: ServerEnd<UsbAdbImpl_Marker>,
) -> Self::StartAdbResponseFut;
fn stop_adb(&self) -> Self::StopAdbResponseFut;
}Required Associated Types§
type StartAdbResponseFut: Future<Output = Result<DeviceStartAdbResult, Error>> + Send
type StopAdbResponseFut: Future<Output = Result<DeviceStopAdbResult, Error>> + Send
Required Methods§
fn start_adb( &self, interface: ServerEnd<UsbAdbImpl_Marker>, ) -> Self::StartAdbResponseFut
fn stop_adb(&self) -> Self::StopAdbResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".