pub fn init_with_pool(
database: Database,
pool: Arc<ThreadPool>,
) -> Result<(TxpoolReadHandle, TxpoolWriteHandle), TxPoolError>Expand description
Initialise a database and return a read/write handle to it.
Once the returned handles are Drop::droped, the reader
thread-pool and writer thread will exit automatically.
ยงErrors
This will forward the error if the opening failed.