pub fn new_with_pool(pool: ThreadPool) -> StoppableThreadPool<PoolError> {
        let (control_sender, control_receiver) = unbounded::<Result<(), PoolError>>();
        StoppableThreadPool::<PoolError> {
            pool,
            control_sender,
            control_receiver,
            stop_senders: Vec::new(),
        }
    }
/// Create a new `StoppableThreadPool` instance using a user supplied futures `ThreadPool` executor instance.
Create a new `StoppableThreadPool` instance using a user supplied futures `ThreadPool` executor instance.
Create a new ` StoppableThreadPool ` instance using a user supplied futures ` ThreadPool ` executor instance .
pub fn new_with_pool(pool: ThreadPool) -> StoppableThreadPool<PoolError> {
        let (control_sender, control_receiver) = unbounded::<Result<(), PoolError>>();
        StoppableThreadPool::<PoolError> {
            pool,
            control_sender,
            control_receiver,
            stop_senders: Vec::new(),
        }
    }
pub fn new_with_pool ( pool : ThreadPool ) -> StoppableThreadPool < PoolError > { let ( control_sender , control_receiver ) = unbounded :: < Result < ( ) , PoolError > > ( ) ; StoppableThreadPool :: < PoolError > { pool , control_sender , control_receiver , stop_senders : Vec :: new ( ) , } }
Create a new `StoppableThreadPool` instance using a user supplied futures `ThreadPool` executor instance.
Create a new ` StoppableThreadPool ` instance using a user supplied futures ` ThreadPool ` executor instance .
pool
ThreadPool