pub trait DrizzleRowByIndex {
// Required method
fn get_column<T: FromSQLiteValue>(
&self,
idx: usize,
) -> Result<T, DrizzleError>;
}Expand description
Row capability for index-based extraction.
Required Methods§
Sourcefn get_column<T: FromSQLiteValue>(&self, idx: usize) -> Result<T, DrizzleError>
fn get_column<T: FromSQLiteValue>(&self, idx: usize) -> Result<T, DrizzleError>
Get a column value by index.
§Errors
Returns DrizzleError if the index is out of range or the column value
cannot be converted to T.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.