pub fn pg_try<Try, R>(try_func: Try) -> PgTryResult<R>
where
    Try: FnOnce() -> R + std::panic::UnwindSafe + std::panic::RefUnwindSafe,
{
    try_guard(try_func)
}
/// Similar to `guard`, but allows the caller to unwrap the result in various ways, possibly
/// performing cleanup work before the caught error is rethrown
Similar to `guard`, but allows the caller to unwrap the result in various ways, possibly
performing cleanup work before the caught error is rethrown
Similar to ` guard ` but allows the caller to unwrap the result in various ways possibly performing cleanup work before the caught error is rethrown
pub fn pg_try<Try, R>(try_func: Try) -> PgTryResult<R>
where
    Try: FnOnce() -> R + std::panic::UnwindSafe + std::panic::RefUnwindSafe,
{
    try_guard(try_func)
}
pub fn pg_try < Try , R > ( try_func : Try ) -> PgTryResult < R > where Try : FnOnce ( ) -> R + std :: panic :: UnwindSafe + std :: panic :: RefUnwindSafe , { try_guard ( try_func ) }
Similar to `guard`, but allows the caller to unwrap the result in various ways, possibly
performing cleanup work before the caught error is rethrown
Similar to ` guard ` but allows the caller to unwrap the result in various ways possibly performing cleanup work before the caught error is rethrown
try_func
Try
try_func
Try