pub fn rows_into<T: FromRow>(rows: Vec<Row>) -> QueryResult<Vec<T>>Expand description
Decode a batch of driver rows into typed models.
ยงShort-circuit on decode error
Uses Result<Vec<T>, _>::collect, which returns the first decode
error and discards every successfully-decoded row before it. A
row-level type mismatch therefore aborts the whole batch rather
than returning partial results. Callers that want per-row
recovery should manually iterate rows and handle each
T::from_row result.