Home
last modified time | relevance | path

Searched refs:error_from_handle (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/rusqlite/src/
Dbackup.rs42 use crate::error::{error_from_handle, error_from_sqlite_code};
80 Busy => Err(unsafe { error_from_handle(ptr::null_mut(), ffi::SQLITE_BUSY) }), in backup()
81 Locked => Err(unsafe { error_from_handle(ptr::null_mut(), ffi::SQLITE_LOCKED) }), in backup()
126 Busy => Err(unsafe { error_from_handle(ptr::null_mut(), ffi::SQLITE_BUSY) }), in restore()
127 Locked => Err(unsafe { error_from_handle(ptr::null_mut(), ffi::SQLITE_LOCKED) }), in restore()
215 return Err(error_from_handle(to_db, ffi::sqlite3_errcode(to_db))); in new_with_names()
Dinner_connection.rs13 use crate::error::{error_from_handle, error_from_sqlite_code, Error};
89 let mut e = error_from_handle(db, r); in open_with_flags()
115 let e = error_from_handle(db, r); in open_with_flags()
136 Err(error_from_handle(db, code)) in decode_result_raw()
Derror.rs333 pub unsafe fn error_from_handle(db: *mut ffi::sqlite3, code: c_int) -> Error { in error_from_handle() function