[][src]Function async_backplane::utils::dont_panic

pub fn dont_panic<F: Future>(f: F) -> DontPanic<F>

Important traits for DontPanic<F>

impl<F, T> Future for DontPanic<F> where
    F: Future<Output = T>, 
type Output = Result<T, Unwind>;

Wraps a Future such that it traps panics