[][src]Trait embedded_hal::blocking::spi::WriteIter

pub trait WriteIter<W> {
    type Error;
    fn write_iter<WI>(&mut self, words: WI) -> Result<(), Self::Error>
    where
        WI: IntoIterator<Item = W>
; }
[]

Blocking write (iterator version)

Associated Types

type Error[]

Error type

Required methods

fn write_iter<WI>(&mut self, words: WI) -> Result<(), Self::Error> where
    WI: IntoIterator<Item = W>, 
[]

Sends words to the slave, ignoring all the incoming words

Implementors

impl<W, S> WriteIter<W> for S where
    S: Default<W>,
    W: Clone
[src][]

type Error = S::Error