Struct lifeguard::PoolBuilder
[−]
[src]
pub struct PoolBuilder<T> where T: Recycleable {
pub starting_size: usize,
pub max_size: usize,
pub supplier: Option<Box<Supply<Output=T>>>,
}
Used to define settings for and ultimately create a Pool
.
Fields
starting_size: usize
max_size: usize
supplier: Option<Box<Supply<Output=T>>>