pub trait DeviceProxyInterface: Send + Sync {
type TransferResponseFut: Future<Output = Result<DeviceTransferResult, Error>> + Send;
type GetNameResponseFut: Future<Output = Result<DeviceGetNameResult, Error>> + Send;
// Required methods
fn transfer(
&self,
transactions: &[Transaction],
) -> Self::TransferResponseFut;
fn get_name(&self) -> Self::GetNameResponseFut;
}