Trait ColumnIndex
pub trait ColumnIndex<T: ?Sized>: Debug {
// Required method
fn index(&self, container: &T) -> Result<usize, Error>;
}Required Methods§
fn 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, or,
Error::ColumnIndexOutOfBounds or Error::ColumnNotFound.