pub trait WordWrite {
type Error: Error + Send + Sync + 'static;
type Word: Word;
// Required methods
fn write_word(&mut self, word: Self::Word) -> Result<(), Self::Error>;
fn flush(&mut self) -> Result<(), Self::Error>;
}
Expand description
Sequential, streaming word-by-word writes.
Required Associated Types§
type Error: Error + Send + Sync + 'static
Sourcetype Word: Word
type Word: Word
The word type (the type of the argument of WordWrite::write_word
).