[][src]Trait async_embedded_traits::spi::AsyncWriteIter

pub trait AsyncWriteIter {
    type Error;
    type WriteIterFuture: Future<Output = Result<(), Self::Error>>;
    fn async_write_iter<'a>(
        &'a mut self,
        data: &'a mut dyn Iterator<Item = u8>
    ) -> Self::WriteIterFuture; }

SPI write (iterator version)

Associated Types

type Error

Write error

type WriteIterFuture: Future<Output = Result<(), Self::Error>>

Write future for polling on completion

Loading content...

Required methods

fn async_write_iter<'a>(
    &'a mut self,
    data: &'a mut dyn Iterator<Item = u8>
) -> Self::WriteIterFuture

Sends bytes to the slave, ignoring all the incoming bytes

Loading content...

Implementors

Loading content...