query_as: fully implement query_as, required a db-specific ext trait

This commit is contained in:
Ryan Leckey
2020-03-01 20:07:59 -08:00
parent f18ab2fecb
commit 47f3d77e59
23 changed files with 631 additions and 251 deletions

View File

@@ -36,7 +36,7 @@ where
}
#[inline]
pub fn buffer(&self) -> &[u8] {
pub fn buffer<'c>(&'c self) -> &'c [u8] {
&self.rbuf[self.rbuf_rindex..]
}