pub trait RowIteratorExt: Iterator<Item = Result<Row, Error>> + Sized {
// Required method
fn map_rows<T: FromRow>(self) -> MapRows<Self, T> ⓘ;
}Expand description
Extension trait for iterating over query results as typed structs.
This trait is automatically implemented for any iterator of Result<Row, Error>.
Required Methods§
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.