blocking_res

Function blocking_res 

Source
pub(crate) async fn blocking_res<T, F>(f: F) -> Result<T, String>
where T: Send + 'static, F: FnOnce() -> Result<T, String> + Send + 'static,