Struct capsules_extra::sht3x::SHT3x
source · pub struct SHT3x<'a, A: Alarm<'a>, I: I2CDevice> { /* private fields */ }
Implementations§
Trait Implementations§
source§impl<'a, A: Alarm<'a>, I: I2CDevice> HumidityDriver<'a> for SHT3x<'a, A, I>
impl<'a, A: Alarm<'a>, I: I2CDevice> HumidityDriver<'a> for SHT3x<'a, A, I>
fn set_client(&self, client: &'a dyn HumidityClient)
fn read_humidity(&self) -> Result<(), ErrorCode>
source§impl<'a, A: Alarm<'a>, I: I2CDevice> TemperatureDriver<'a> for SHT3x<'a, A, I>
impl<'a, A: Alarm<'a>, I: I2CDevice> TemperatureDriver<'a> for SHT3x<'a, A, I>
fn set_client(&self, client: &'a dyn TemperatureClient)
fn read_temperature(&self) -> Result<(), ErrorCode>
Auto Trait Implementations§
impl<'a, A, I> !Freeze for SHT3x<'a, A, I>
impl<'a, A, I> !RefUnwindSafe for SHT3x<'a, A, I>
impl<'a, A, I> !Send for SHT3x<'a, A, I>
impl<'a, A, I> !Sync for SHT3x<'a, A, I>
impl<'a, A, I> Unpin for SHT3x<'a, A, I>
impl<'a, A, I> !UnwindSafe for SHT3x<'a, A, I>
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