Skip to main content

install_global_blocking_pool

Function install_global_blocking_pool 

Source
pub fn install_global_blocking_pool(
    config: BlockingPoolConfig,
) -> Result<(), BlockingError>
Expand description

Installs the process-wide blocking pool before the first sync invocation.

ยงErrors

Returns BlockingError::AlreadyConfigured after a pool has already been installed or initialized.