pub trait SensorBackend {
// Provided method
fn poll_sensors(&mut self) -> Vec<SensorReading> { ... }
}Expand description
Hardware poller for motion sensors. Default: no sensors.
Provided Methods§
fn poll_sensors(&mut self) -> Vec<SensorReading>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".