pub trait Sink {
// Required methods
fn int(&mut self, col: usize, row: usize, value: Option<i32>);
fn double(&mut self, col: usize, row: usize, value: Option<f64>);
fn logical(&mut self, col: usize, row: usize, value: Option<bool>);
fn date(&mut self, col: usize, row: usize, value: Option<i32>);
fn text(&mut self, col: usize, row: usize, raw: &[u8]);
}Expand description
Receives decoded values, one call per selected column per row, in row
order. col indexes Table::columns; row restarts at 0 on every
Table::read_rows call.
Required Methods§
fn int(&mut self, col: usize, row: usize, value: Option<i32>)
fn double(&mut self, col: usize, row: usize, value: Option<f64>)
fn logical(&mut self, col: usize, row: usize, value: Option<bool>)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".