pub fn terminate(self) -> Result<()> {
        log::info!("received request to stop");

        self.handle
            .stop()
            .context("Failed to stop trigger manager")?
            .join()
            .context("Failed to join trigger manager thread")?;

        log::info!("stop complete");

        Ok(())
    }
/// Called by Stop. Used to enable terminating
/// the system without boxing it first.
Called by Stop. Used to enable terminating
the system without boxing it first.
Called by Stop . Used to enable terminating the system without boxing it first .
pub fn terminate(self) -> Result<()> {
        log::info!("received request to stop");
        self.handle
            .stop()
            .context("Failed to stop trigger manager")?
            .join()
            .context("Failed to join trigger manager thread")?;
        log::info!("stop complete");
        Ok(())
    }
pub fn terminate ( self ) -> Result < ( ) > { log :: info ! ( " " ) ; self . handle . stop ( ) . context ( " " ) ? . join ( ) . context ( " " ) ? ; log :: info ! ( " " ) ; Ok ( ( ) ) }
Called by Stop.
Called by Stop .
self