[][src]Function ari::ffi::catch_abort

pub fn catch_abort<TFunction, TReturn>(function: TFunction) -> TReturn where
    TFunction: FnOnce() -> TReturn, 

invokes a closure, aborting the process if a panic occurs.