[][src]Trait syncpool::PoolManager

pub trait PoolManager<T> {
    fn reset_handle(&mut self, handle: fn(_: &mut T)) -> &mut Self;
fn allow_expansion(&mut self, allow: bool) -> &mut Self;
fn expand(&mut self, additional: usize, block: bool) -> bool;
fn refill(&mut self, count: usize); }

Required methods

fn reset_handle(&mut self, handle: fn(_: &mut T)) -> &mut Self

fn allow_expansion(&mut self, allow: bool) -> &mut Self

fn expand(&mut self, additional: usize, block: bool) -> bool

fn refill(&mut self, count: usize)

Loading content...

Implementors

impl<T> PoolManager<T> for SyncPool<T> where
    T: Default
[src]

Loading content...