Struct abort_on_panic::PanicGuard [] [src]

pub struct PanicGuard { /* fields omitted */ }

Once this object is created, it can only be destroyed in an orderly fashion. Attempting to clean it up from a panic handler will abort the process.

Methods

impl PanicGuard
[src]

Create a panic guard with a generic message.

Create a panic guard with a custom message.

Trait Implementations

impl Drop for PanicGuard
[src]

A method called when the value goes out of scope. Read more