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