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

Methods

impl<T> PoolBuilder<T> where T: Recycleable
[src]