fidl_fuchsia_hardware_i2c

Trait DeviceProxyInterface

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