pub trait SensorProxyInterface: Send + Sync {
    type WatchResponseFut: Future<Output = Result<LightSensorData, Error>> + Send;

    // Required method
    fn watch(&self) -> Self::WatchResponseFut;
}

Required Associated Types§

Required Methods§

source

fn watch(&self) -> Self::WatchResponseFut

Implementors§