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.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".