pub struct SqliteReadOnlyConnection { /* private fields */ }Expand description
Read-only handle to a SQLite graph database connection.
§Temp-table invariant
When this connection is unwrapped into a SqliteGraphStore via
SqliteGraphStore::from_read_only_connection, the same temp-table
concurrency rules apply: only one temp-table-using method
(replace_projection_with_version, upsert_projection,
edges_between_nodes, breadth_first_search) may be active at a time
per connection.
Implementations§
Source§impl SqliteReadOnlyConnection
impl SqliteReadOnlyConnection
pub fn conn(&self) -> &Connection
pub fn recovery(&self) -> Option<ReadOnlyRecovery>
Auto Trait Implementations§
impl !Freeze for SqliteReadOnlyConnection
impl !RefUnwindSafe for SqliteReadOnlyConnection
impl !Sync for SqliteReadOnlyConnection
impl !UnwindSafe for SqliteReadOnlyConnection
impl Send for SqliteReadOnlyConnection
impl Unpin for SqliteReadOnlyConnection
impl UnsafeUnpin for SqliteReadOnlyConnection
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more