Trait async_embedded_traits::spi::AsyncWrite[][src]

pub trait AsyncWrite {
    type Error;
    type WriteFuture: Future<Output = Result<(), Self::Error>>;
    fn async_write<'a>(&'a mut self, data: &'a [u8]) -> Self::WriteFuture;
}

SPI write

Associated Types

type Error[src]

Write error

type WriteFuture: Future<Output = Result<(), Self::Error>>[src]

Write future for polling on completion

Loading content...

Required methods

fn async_write<'a>(&'a mut self, data: &'a [u8]) -> Self::WriteFuture[src]

Sends bytes to the slave, ignoring all the incoming bytes

Loading content...

Implementors

Loading content...