pub trait SensorProxyInterface: Send + Sync {
type WatchResponseFut: Future<Output = Result<LightSensorData, Error>> + Send;
// Required method
fn watch(&self) -> Self::WatchResponseFut;
}
pub trait SensorProxyInterface: Send + Sync {
type WatchResponseFut: Future<Output = Result<LightSensorData, Error>> + Send;
// Required method
fn watch(&self) -> Self::WatchResponseFut;
}