Enum riot_wrappers::saul::Class
source · pub enum Class {
Actuator(Option<ActuatorClass>),
Sensor(Option<SensorClass>),
}
Available on
riot_module_saul
only.Expand description
Device class
Both for the class in general and for its details, Option is used to represent undefined / unknown values, which are used as a wildcard in queries and as an indicator of unknown / unspported types in introspection.
Variants§
Actuator(Option<ActuatorClass>)
Sensor(Option<SensorClass>)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Class
impl Send for Class
impl Sync for Class
impl Unpin for Class
impl UnwindSafe for Class
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