Struct lifeguard::settings::Supplier [] [src]

pub struct Supplier<S>(pub S) where S: Supply;

Specifies a value implementing Supply<Output=T> that will be used to allocate new values. If unspecified, T::new() will be invoked.

Trait Implementations

impl<T, S> OptionSetter<PoolBuilder<T>> for Supplier<S> where S: Supply<Output=T> + 'static, T: Recycleable
[src]