Struct lifeguard::Supplier [] [src]

pub struct Supplier<T> where T: Recycleable {
    // some fields omitted
}

Specifies the maximum number of values the pool can hold before it will begin to drop values being returned to it.

Methods

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

fn new<S>(supplier: S) -> Supplier<T> where S: Supply<T> + 'static

Trait Implementations

impl<T> OptionSetter<PoolBuilder<T>> for Supplier<T> where T: Recycleable
[src]

fn set_option(self, builder: PoolBuilder<T>) -> PoolBuilder<T>