#object-pool #semantics #fixed #reset #ownership #return #fixed-size

fixed_pool

Fixed-size object pool with ownership and return semantics

1 unstable release

0.1.0 Dec 3, 2023

#17 in #reset

MIT/Apache

7KB
115 lines

fixed_pool

Crates.io Docs.rs

fixed_pool implements an object pool with a fixed number of items. The items may be borrowed without lifetime restrictions, are automatically returned to the pool upon drop, and may have customized reset semantics through the use of a trait.


lib.rs:

fixed_pool implements an object pool with a fixed number of items. The items may be borrowed without lifetime restrictions, are automatically returned to the pool upon drop, and may have customized reset semantics through the use of a trait.

No runtime deps