diff --git a/actix-threadpool/src/lib.rs b/actix-threadpool/src/lib.rs index beead547..08b563ef 100644 --- a/actix-threadpool/src/lib.rs +++ b/actix-threadpool/src/lib.rs @@ -48,6 +48,8 @@ pub enum BlockingError { Canceled, } +impl std::error::Error for BlockingError {} + /// Execute blocking function on a thread pool, returns future that resolves /// to result of the function execution. pub fn run(f: F) -> CpuFuture