Lines Matching refs:rusqlite
84 use rusqlite::{
262 fn to_sql(&self) -> rusqlite::Result<ToSqlOutput> {
303 fn to_sql(&self) -> rusqlite::Result<ToSqlOutput> {
339 fn to_sql(&self) -> rusqlite::Result<ToSqlOutput> {
402 fn to_sql(&self) -> rusqlite::Result<ToSqlOutput> {
464 fn to_sql(&self) -> rusqlite::Result<ToSqlOutput> {
695 fn to_sql(&self) -> rusqlite::Result<ToSqlOutput> {
770 fn to_sql(&self) -> rusqlite::Result<ToSqlOutput> {
1176 rows.collect::<Result<Vec<(i64, Vec<u8>)>, rusqlite::Error>>()
1475 e.root_cause().downcast_ref::<rusqlite::ffi::Error>(),
1476 Some(rusqlite::ffi::Error { code: rusqlite::ErrorCode::DatabaseBusy, .. })
1477 | Some(rusqlite::ffi::Error { code: rusqlite::ErrorCode::DatabaseLocked, .. })
1882 .collect::<rusqlite::Result<Vec<Vec<u8>>>>()
1910 .collect::<rusqlite::Result<Vec<(i64, DateTime)>>>()
1940 .collect::<rusqlite::Result<Vec<i64>>>()
1986 .collect::<rusqlite::Result<Vec<DateTime>>>()
2000 .collect::<rusqlite::Result<Vec<(Option<String>, Option<u32>)>>>()
2064 .collect::<rusqlite::Result<Vec<(SubComponentType, Vec<u8>)>>>()
3133 fn insert_with_retry(inserter: impl Fn(i64) -> rusqlite::Result<usize>) -> Result<i64> {
3141 Err(rusqlite::Error::SqliteFailure(
3231 use rusqlite::NO_PARAMS;
3232 use rusqlite::TransactionBehavior;
3324 .collect::<rusqlite::Result<Vec<String>>>()?;
4721 if let Some(rusqlite::ffi::Error { code: rusqlite::ErrorCode::DatabaseBusy, .. }) =
4722 root_cause.downcast_ref::<rusqlite::ffi::Error>()
4730 root_cause.downcast_ref::<rusqlite::ffi::Error>()