Module mithril_common::resource_pool
source · Expand description
Resource pool implementation
Structs§
- Resource pool implementation (FIFO)
- Resource pool item which will return the resource to the pool when dropped
Enums§
- ResourcePool related errors.
Traits§
- Reset trait which is implemented by pooled resource items. As pool resource items are mutable, this will guarantee that the pool stays consistent and that acquired resource items do not depend from previous computations.