Trait DeviceProxyInterface

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

Required Methods§

Source

fn start_adb( &self, interface: ServerEnd<UsbAdbImpl_Marker>, ) -> Self::StartAdbResponseFut

Source

fn stop_adb(&self) -> Self::StopAdbResponseFut

Implementors§