Function std::thread::panicking [] [src]

pub fn panicking() -> bool

Determines whether the current thread is unwinding because of panic.