Function veilid_tools::blocking_wrapper
source · pub async fn blocking_wrapper<F, R>(blocking_task: F, err_result: R) -> Rwhere
F: FnOnce() -> R + Send + 'static,
R: Send + 'static,pub async fn blocking_wrapper<F, R>(blocking_task: F, err_result: R) -> Rwhere
F: FnOnce() -> R + Send + 'static,
R: Send + 'static,