pub enum SensorKind {
Bme280,
Mpu9250,
Shtc3,
Tsl2561,
}
Variants§
Trait Implementations§
Source§impl Clone for SensorKind
impl Clone for SensorKind
Source§fn clone(&self) -> SensorKind
fn clone(&self) -> SensorKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SensorKind
impl Debug for SensorKind
Source§impl<'de> Deserialize<'de> for SensorKind
impl<'de> Deserialize<'de> for SensorKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for SensorKind
impl Display for SensorKind
impl Copy for SensorKind
Auto Trait Implementations§
impl Freeze for SensorKind
impl RefUnwindSafe for SensorKind
impl Send for SensorKind
impl Sync for SensorKind
impl Unpin for SensorKind
impl UnwindSafe for SensorKind
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