libremexre::futures
pub fn blocking<E, F, T>(func: F) -> impl Future<Item = T, Error = E> where F: FnOnce() -> Result<T, E>,
A higher-level version of tokio_threadpool::blocking.
tokio_threadpool::blocking