Skip to main content

global_pool

Function global_pool 

Source
pub fn global_pool() -> &'static ZeroPool
Expand description

Returns a reference to the lazily initialized global pool.

This is the simplest way to share a single pool across your application. The pool is created on first use using ZeroPool::new.