Skip to main content

Module prelude

Module prelude 

Source
Available on crate feature std only.
Expand description

Convenient re-exports: use pool_mod::prelude::*;.

Pulls in every public type needed to build and use a pool.

Structs§

Builder
A fluent builder for a Pool.
Pool
A thread-safe pool of reusable resources.
PoolConfig
Tunable limits and lifecycle policy for a Pool.
Pooled
A borrowed resource that returns itself to the pool when dropped.
Status
A snapshot of how many resources a Pool holds.

Enums§

Error
An error returned by a Pool operation.

Traits§

Manager
Creates and maintains the resources held by a Pool.