pub trait DeviceProxyInterface: Send + Sync {
    type GetTemperatureCelsiusResponseFut: Future<Output = Result<(i32, f32), Error>> + Send;
    type GetSensorNameResponseFut: Future<Output = Result<String, Error>> + Send;

    // Required methods
    fn get_temperature_celsius(&self) -> Self::GetTemperatureCelsiusResponseFut;
    fn get_sensor_name(&self) -> Self::GetSensorNameResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§