Skip to main content

shared

Function shared 

Source
pub fn shared() -> &'static Pool
Expand description

The process’s pool for the default library.

One database, opened once, shared by everything that reads it: the front ends, the downloader, the background tasks. Callers with their own path — tests, mostly — build their own.