pub struct InterruptSensor { /* private fields */ }Implementations§
Source§impl InterruptSensor
impl InterruptSensor
pub fn new() -> InterruptSensor
Trait Implementations§
Source§impl Default for InterruptSensor
impl Default for InterruptSensor
Source§impl Sensor for InterruptSensor
impl Sensor for InterruptSensor
fn descriptor(&self) -> SensorDescriptor
Source§fn bind(&mut self, ctx: &mut BindContext<'_>) -> Result<()>
fn bind(&mut self, ctx: &mut BindContext<'_>) -> Result<()>
Resolve everything resolvable once: which entities exist, which files to
read, which descriptors to open, which columns to fill. Read more
Source§fn observe(&mut self, out: &mut StateWriter<'_>) -> SensorOutcome
fn observe(&mut self, out: &mut StateWriter<'_>) -> SensorOutcome
Sample the machine once.
Auto Trait Implementations§
impl Freeze for InterruptSensor
impl RefUnwindSafe for InterruptSensor
impl Send for InterruptSensor
impl Sync for InterruptSensor
impl Unpin for InterruptSensor
impl UnsafeUnpin for InterruptSensor
impl UnwindSafe for InterruptSensor
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