Trait lifeguard::OptionSetter
[−]
[src]
pub trait OptionSetter<T> { fn set_option(self, T) -> T; }
Implementing this trait allows structs to act as configuration parameters in the builder API.
Required Methods
fn set_option(self, T) -> T
Implementors
impl<T> OptionSetter<PoolBuilder<T>> for StartingSize where T: Recycleable
impl<T> OptionSetter<PoolBuilder<T>> for MaxSize where T: Recycleable
impl<T> OptionSetter<PoolBuilder<T>> for Supplier<T> where T: Recycleable