pub fn unwrap_or_rethrow<F>(self, cleanup: F) -> T
    where
        F: FnOnce(),
    {
        match self.0 {
            Ok(result) => result,
            Err(e) => {
                catch_guard(e, cleanup);
                unreachable!("failed to rethrow ERROR during pg_try().unwrap_or_rethrow()")
            }
        }
    }
/// Perform some operation cleanup operation after the try block if an error was thrown.
///
/// In the event an error was caught, it is rethrown.
Perform some operation cleanup operation after the try block if an error was thrown.
In the event an error was caught, it is rethrown.
Perform some operation cleanup operation after the try block if an error was thrown . In the event an error was caught it is rethrown .
pub fn unwrap_or_rethrow<F>(self, cleanup: F) -> T
    where
        F: FnOnce(),
    {
        match self.0 {
            Ok(result) => result,
            Err(e) => {
                catch_guard(e, cleanup);
                unreachable!("failed to rethrow ERROR during pg_try().unwrap_or_rethrow()")
            }
        }
    }
pub fn unwrap_or_rethrow < F > ( self , cleanup : F ) -> T where F : FnOnce ( ) , { match self . 0 { Ok ( result ) => result , Err ( e ) => { catch_guard ( e , cleanup ) ; unreachable ! ( " " ) } } }
Perform some operation cleanup operation after the try block if an error was thrown.
Perform some operation cleanup operation after the try block if an error was thrown .
self
cleanup
F
self
cleanup
F