Crate lazy_pool

Source
Expand description

Through lazy-pool you can create generic object pools which are lazily intitialized and use a performant deque in order to provide instances of the pooled objects The pool can be used in a threaded environment as well as an async environment See Pool documentation for more info

Macros§

get

Structs§

Pool
Pooled
SyncFactory

Traits§

Factory
The factory trait is used to populate the Pool when items are created and replaced. There is a default implementation of factory for boxed sync closures, and creating an asynchronous factory is shown in this example:

Type Aliases§

Result