Struct fpool::RoundRobinPool[][src]

pub struct RoundRobinPool<T, TCError> { /* fields omitted */ }

A Pool that uses round-robin logic to retrieve items in the pool. Can be converted into the items with the into_items() function.

Methods

impl<T, TCError> RoundRobinPool<T, TCError>
[src]

Get the builder for the pool.

Pass-through call to the Pool trait's get().

Items are re-used unless invalid, in which case they are re-constructed. If the construction fails, then the error is returned. Do not hold on to the ItemHandle reference, as it may be returned by a subsequent call on get().

Trait Implementations

impl<T, TCError> Pool for RoundRobinPool<T, TCError>
[src]

Items are re-used unless invalid, in which case they are re-constructed. If the construction fails, then the error is returned. Do not hold on to the ItemHandle reference, as it may be returned by a subsequent call on get(). Read more

Auto Trait Implementations

impl<T, TCError> !Send for RoundRobinPool<T, TCError>

impl<T, TCError> !Sync for RoundRobinPool<T, TCError>