pub fn stop(self) -> Result<JoinHolder<T>> {
        let handle = self.join_handle;

        ensure!(self.tx_stop.send(()).is_ok(), ShutdownRequestError);

        Ok(JoinHolder::new(handle))
    }
/// Sends a stop signal to the thread, returns a join holding object.
Sends a stop signal to the thread, returns a join holding object.
Sends a stop signal to the thread returns a join holding object .
pub fn stop(self) -> Result<JoinHolder<T>> {
        let handle = self.join_handle;
        ensure!(self.tx_stop.send(()).is_ok(), ShutdownRequestError);
        Ok(JoinHolder::new(handle))
    }
pub fn stop ( self ) -> Result < JoinHolder < T > > { let handle = self . join_handle ; ensure ! ( self tx_stop send ( ( ) ) is_ok ( ) ShutdownRequestError ) ; Ok ( JoinHolder :: new ( handle ) ) }
Sends a stop signal to the thread, returns a join holding object.
Sends a stop signal to the thread returns a join holding object .
self