pub struct Runner<'d, C: Chip, SPI: SpiDevice, INT: Wait, RST: OutputPin> { /* private fields */ }
Expand description
Background runner for the driver.
You must call .run()
in a background task for the driver to operate.
Implementations§
Auto Trait Implementations§
impl<'d, C, SPI, INT, RST> Freeze for Runner<'d, C, SPI, INT, RST>
impl<'d, C, SPI, INT, RST> !RefUnwindSafe for Runner<'d, C, SPI, INT, RST>
impl<'d, C, SPI, INT, RST> !Send for Runner<'d, C, SPI, INT, RST>
impl<'d, C, SPI, INT, RST> !Sync for Runner<'d, C, SPI, INT, RST>
impl<'d, C, SPI, INT, RST> Unpin for Runner<'d, C, SPI, INT, RST>
impl<'d, C, SPI, INT, RST> !UnwindSafe for Runner<'d, C, SPI, INT, RST>
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