Function std::panicking::try[][src]

pub unsafe fn try<R, F: FnOnce() -> R>(f: F) -> Result<R, Box<dyn Any + Send>>
Expand description

Invoke a closure, capturing the cause of an unwinding panic if one occurs.