Skip to main content

Module pool

Module pool 

Source
Expand description

Connection pool for SQLite: one exclusive writer, N concurrent readers.

Structsยง

ConnectionPool
A read-write connection pool for SQLite.
PoolConfig
Configuration for the connection pool.
ReaderGuard
A reader connection checked out from the pool. Returns the connection to the pool on drop.
WriterGuard
A writer connection checked out from the pool. The Mutex ensures only one writer at a time.