Skip to main content

open_database_from_transport_on_pool

Function open_database_from_transport_on_pool 

Source
pub async fn open_database_from_transport_on_pool(
    pool: Option<&SqlitePool>,
    transport: SqliteTransportHandle,
    actor_id: String,
    generation: u64,
    rt_handle: Handle,
    metrics: Option<Arc<dyn SqliteVfsMetrics>>,
) -> Result<NativeDatabaseHandle>
Expand description

Opens the database on the runtime’s shared worker pool, or on a dedicated single-thread pool when pool is None.