Lines Matching defs:Connection
323 pub struct Connection { struct
324 db: RefCell<InnerConnection>, argument
328 unsafe impl Send for Connection {} implementation
330 impl Drop for Connection { implementation
337 impl Connection { implementation
391 pub fn open<P: AsRef<Path>>(path: P) -> Result<Connection> { in open()
417 pub fn open_with_flags<P: AsRef<Path>>(path: P, flags: OpenFlags) -> Result<Connection> { in open_with_flags()
440 ) -> Result<Connection> { in open_with_flags_and_vfs()
458 pub fn open_in_memory_with_flags(flags: OpenFlags) -> Result<Connection> { in open_in_memory_with_flags()
473 pub fn open_in_memory_with_flags_and_vfs(flags: OpenFlags, vfs: &str) -> Result<Connection> { in open_in_memory_with_flags_and_vfs()
727 pub fn close(self) -> Result<(), (Connection, Error)> { in close()
882 pub unsafe fn from_handle(db: *mut ffi::sqlite3) -> Result<Connection> { in from_handle()
902 pub unsafe fn from_handle_owned(db: *mut ffi::sqlite3) -> Result<Connection> { in from_handle_owned()
956 impl fmt::Debug for Connection { implementation
990 pub fn new(conn: &'conn Connection, sql: &'sql str) -> Batch<'conn, 'sql> { in new() argument