async fn preflight<I>( db: &Database, rows: I, from: u64, to: u64, ) -> Result<Option<Vec<Write>>>where I: IntoIterator<Item = Row> + Send, I::IntoIter: Send,