pub trait RowDecoder {
// Required methods
fn header(&mut self) -> Result<Option<Vec<String>>, Error>;
fn next_row(&mut self) -> Result<Option<Vec<(String, LoraValue)>>, Error>;
}Expand description
Pull-based row decoder. Reads from a std::io::BufRead and
yields completed rows one at a time. Used by native Rust callers
that already have the input as a stream-like reader.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".