pub type TaskExecutor = Arc<dyn Fn(Vec<u8>) -> TaskFuture + Send + Sync>;
Type-erased task executor function
pub struct TaskExecutor { /* private fields */ }