pub trait ColumnIndex<T>: Debugwhere
T: ?Sized,{
// Required method
fn index(&self, container: &T) -> Result<usize, Error>;
}
Expand description
Required Methods§
sourcefn index(&self, container: &T) -> Result<usize, Error>
fn index(&self, container: &T) -> Result<usize, Error>
Returns a valid positional index into the row or statement, ColumnIndexOutOfBounds
, or,
ColumnNotFound
.