interruptible_polling 0.4.0

General purpose polling tasks with RAII-driven fast clean exits
Documentation
1
2
3
4
5
6
use thiserror::Error;

#[derive(Debug, Error)]
#[error("Timed out waiting for polling task to signal exit")]
/// Returned when the handle times out waiting for the background thread to signal it has exited.
pub struct CancelPollingTaskTimeout;