Crate lifeguard [−] [src]
Structs
MaxSize |
Specifies the number of values which should be requested from the Supplier at initialization time. |
Pool |
A collection of values that can be reused without requiring new allocations. |
PoolBuilder | |
RcRecycled |
A smartpointer which uses reference counting ( |
Recycled |
A smartpointer which uses a shared reference ( |
StartingSize |
Specifies a trait object which will be used to generate values when
the |
Supplier |
Specifies the maximum number of values the pool can hold before it will begin to drop values being returned to it. |
Traits
InitializeWith |
Informs how an already allocated value should be initialized when provided with a model value or other meaningful input. |
OptionSetter |
Implementing this trait allows structs to act as configuration parameters in the builder API. |
Recycleable |
In order to be managed by a |
Supply |
Functions
pool |