[][src]Trait asi_core0::Sensor

pub trait Sensor<T> {
    pub fn next(&mut self);
pub fn try_receive(&mut self) -> Option<Result<T, Box<dyn Error>>>; }

Implemented by sensors.

Required methods

pub fn next(&mut self)[src]

Call for next input.

pub fn try_receive(&mut self) -> Option<Result<T, Box<dyn Error>>>[src]

Try receive data, returns None if there is nothing to receive yet.

Loading content...

Implementors

Loading content...