pub async fn query_prepared<C: GenericClient + Sync>( client: &C, statement: &Statement, params: &[&(dyn ToSql + Sync)], ) -> Result<Vec<Row>, PostgresError>
Runs a prepared query and returns all resulting rows.