pub trait JfifWrite {
    fn write_all(&mut self, buf: &[u8]) -> Result<(), EncodingError>;
}
Expand description

A no_std alternative for std::io::Write

An implementation of a subset of std::io::Write necessary to use the encoder without std. This trait is implemented for std::io::Write if the std feature is enabled.

Required methods

Writes the whole buffer. The behavior must be identical to std::io::Write::write_all

Implementors