Module std::panic 1.9.0
                   
                       [−]
                   
               [src]
Panic support in the standard library
Structs
| AssertUnwindSafe | 
                                 A simple wrapper around a type to assert that it is panic safe.  | 
                       
| AssertRecoverSafe | 
                               [Deprecated] [Unstable]  Deprecated, renamed to   | 
                       
| Location | 
                               [Unstable]  A struct containing information about the location of a panic.  | 
                       
| PanicInfo | 
                               [Unstable]  A struct providing information about a panic.  | 
                       
Traits
| RefUnwindSafe | 
                                 A marker trait representing types where a shared reference is considered recover safe.  | 
                       
| UnwindSafe | 
                                 A marker trait which represents "panic safe" types in Rust.  | 
                       
| RecoverSafe | 
                               [Deprecated] [Unstable]  Deprecated, renamed to UnwindSafe  | 
                       
Functions
| catch_unwind | 
                                 Invokes a closure, capturing the cause of an unwinding panic if one occurs.  | 
                       
| resume_unwind | 
                                 Triggers a panic without invoking the panic hook.  | 
                       
| propagate | 
                               [Deprecated] [Unstable]  Deprecated, use resume_unwind instead  | 
                       
| recover | 
                               [Deprecated] [Unstable]  Deprecated, renamed to   | 
                       
| set_handler | [Deprecated] [Unstable] | 
| set_hook | 
                               [Unstable]  Registers a custom panic hook, replacing any that was previously registered.  | 
                       
| take_handler | [Deprecated] [Unstable] | 
| take_hook | 
                               [Unstable]  Unregisters the current panic hook, returning it.  |