pub enum SensorRequest {
Watch {
responder: SensorWatchResponder,
},
}
Expand description
Sensor
will return calibrated readings from a product-configured light
sensor.
Variants§
Watch
Fields
§
responder: SensorWatchResponder
Gets the current LightSensorData. Returns immediately on first call; subsequent calls return when the value changes.
Implementations§
source§impl SensorRequest
impl SensorRequest
pub fn into_watch(self) -> Option<SensorWatchResponder>
sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL