pub struct SensorOutcome {
pub samples: u32,
pub errors: u32,
pub sample_age_ns: u64,
}Expand description
The result of one sensor’s observation pass.
Fields§
§samples: u32§errors: u32§sample_age_ns: u64Age of the underlying values at the time they were read, for sensors whose source updates more slowly than the mirror ticks.
Implementations§
Trait Implementations§
Source§impl Clone for SensorOutcome
impl Clone for SensorOutcome
impl Copy for SensorOutcome
Source§impl Debug for SensorOutcome
impl Debug for SensorOutcome
Source§impl Default for SensorOutcome
impl Default for SensorOutcome
impl Eq for SensorOutcome
Source§impl PartialEq for SensorOutcome
impl PartialEq for SensorOutcome
impl StructuralPartialEq for SensorOutcome
Auto Trait Implementations§
impl Freeze for SensorOutcome
impl RefUnwindSafe for SensorOutcome
impl Send for SensorOutcome
impl Sync for SensorOutcome
impl Unpin for SensorOutcome
impl UnsafeUnpin for SensorOutcome
impl UnwindSafe for SensorOutcome
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more