pub trait WriteIter<W> {
    type Error;

    // Required method
    fn write_iter<WI>(&mut self, words: WI) -> Result<(), Self::Error>
       where WI: IntoIterator<Item = W>;
}
Expand description

Blocking write (iterator version)

Required Associated Types§

source

type Error

Error type

Required Methods§

source

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§

source§

impl<W, S> WriteIter<W> for Swhere S: Default<W>, W: Clone,

§

type Error = <S as FullDuplex<W>>::Error