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