pub trait RowIndex: Sealed {
// Required method
fn idx(&self, stmt: &Statement<'_>) -> Result<usize, Error>;
}
Expand description
A trait implemented by types that can index into columns of a row.
It is only implemented for usize
and &str
.