[]Function paperclip::actix::web::block

pub async fn block<F, I, E>(f: F) -> Result<I, BlockingError<E>> where
    E: Send + Debug + 'static,
    F: FnOnce() -> Result<I, E> + Send + 'static,
    I: Send + 'static, 

Execute blocking function on a thread pool, returns future that resolves to result of the function execution.