driveshaft 0.2.1

A minimal, high-performance thread pool for running synchronous tasks with per-thread context from async code.
Documentation
1
2
3
use crate::error::DriveShaftError;

pub type Job<T> = Box<dyn FnOnce(&mut T) -> Result<(), DriveShaftError> + Send + 'static>;