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;
}

Required Associated Types§

Required Methods§

source

fn transfer(&self, transactions: &[Transaction]) -> Self::TransferResponseFut

source

fn get_name(&self) -> Self::GetNameResponseFut

Implementors§