pub trait WordWrite {
    type Error: Error;
    type Word: UnsignedInt;

    // Required method
    fn write_word(&mut self, word: Self::Word) -> Result<(), Self::Error>;
}
Expand description

Sequential, streaming word-by-word writes.

Required Associated Types§

source

type Error: Error

source

type Word: UnsignedInt

The word type (the type of the argument of WordWrite::write_word).

Required Methods§

source

fn write_word(&mut self, word: Self::Word) -> Result<(), Self::Error>

Write a word and advance the current position.

Implementors§