pub trait Panicable<'a, T: Debug> {
    // Required method
    fn run(
        self,
        inner: &'a T
    ) -> (Option<Box<dyn Any + Send + 'static>>, String);
}

Required Methods§

source

fn run(self, inner: &'a T) -> (Option<Box<dyn Any + Send + 'static>>, String)

Implementors§

source§

impl<'a, T: RefUnwindSafe + Debug, F: FnOnce(&T) + UnwindSafe> Panicable<'a, T> for Expression<T, F>

source§

impl<'a, T: RefUnwindSafe + Debug, F: FnOnce(&T) + UnwindSafe> Panicable<'a, T> for F