Struct omnisensor::external::ExternalSensorIOCore
source · [−]Expand description
Core implementation of ExternalSensorIO
.
This simply receives update notifications sent by a callback in the dbus property-set handler path.
Fields
rx: Receiver<f64>
Channel by which we get notified of updates.
stale: bool
True if the sensor hasn’t received an update within its timeout window.
Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ExternalSensorIOCore
impl Send for ExternalSensorIOCore
impl Sync for ExternalSensorIOCore
impl Unpin for ExternalSensorIOCore
impl !UnwindSafe for ExternalSensorIOCore
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more