sqlite: make SqliteConnection and Statement !Sync

This commit is contained in:
Ryan Leckey
2020-03-15 01:48:51 -07:00
parent 69b1d7feaa
commit 426361f361
12 changed files with 120 additions and 110 deletions

View File

@@ -41,8 +41,9 @@ impl<'c> Row<'c> for PgRow<'c> {
self.data.len()
}
fn try_get_raw<'r, I>(&'r self, index: I) -> crate::Result<Option<PgValue<'c>>>
fn try_get_raw<'r, I>(&'r self, index: I) -> crate::Result<Option<PgValue<'r>>>
where
'c: 'r,
I: ColumnIndex<Self::Database>,
{
let index = index.resolve(self)?;