dont_panic

Function dont_panic 

Source
pub async fn dont_panic<F, T>(future: F) -> Result<T, Unwind>
where F: Future<Output = T>,
Expand description

Run a future such that panics are converted into Unwinds.