pub struct TemperatureSTM<'a, A: AdcChannel<'a>> { /* private fields */ }
Implementations§
Source§impl<'a, A: AdcChannel<'a>> TemperatureSTM<'a, A>
impl<'a, A: AdcChannel<'a>> TemperatureSTM<'a, A>
Trait Implementations§
Source§impl<'a, A: AdcChannel<'a>> Client for TemperatureSTM<'a, A>
impl<'a, A: AdcChannel<'a>> Client for TemperatureSTM<'a, A>
Source§fn sample_ready(&self, sample: u16)
fn sample_ready(&self, sample: u16)
Called when a sample is ready.
Source§impl<'a, A: AdcChannel<'a>> TemperatureDriver<'a> for TemperatureSTM<'a, A>
impl<'a, A: AdcChannel<'a>> TemperatureDriver<'a> for TemperatureSTM<'a, A>
fn set_client(&self, temperature_client: &'a dyn TemperatureClient)
fn read_temperature(&self) -> Result<(), ErrorCode>
Auto Trait Implementations§
impl<'a, A> !Freeze for TemperatureSTM<'a, A>
impl<'a, A> !RefUnwindSafe for TemperatureSTM<'a, A>
impl<'a, A> !Send for TemperatureSTM<'a, A>
impl<'a, A> !Sync for TemperatureSTM<'a, A>
impl<'a, A> Unpin for TemperatureSTM<'a, A>
impl<'a, A> !UnwindSafe for TemperatureSTM<'a, A>
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