pub trait UsbAdbImpl_ProxyInterface: Send + Sync {
type QueueTxResponseFut: Future<Output = Result<UsbAdbImplQueueTxResult, Error>> + Send;
type ReceiveResponseFut: Future<Output = Result<UsbAdbImplReceiveResult, Error>> + Send;
// Required methods
fn queue_tx(&self, data: &[u8]) -> Self::QueueTxResponseFut;
fn receive(&self) -> Self::ReceiveResponseFut;
}Required Associated Types§
type QueueTxResponseFut: Future<Output = Result<UsbAdbImplQueueTxResult, Error>> + Send
type ReceiveResponseFut: Future<Output = Result<UsbAdbImplReceiveResult, Error>> + Send
Required Methods§
fn queue_tx(&self, data: &[u8]) -> Self::QueueTxResponseFut
fn receive(&self) -> Self::ReceiveResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".