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]

[src]

Create a panic guard with a generic message.

[src]

Create a panic guard with a custom message.

Trait Implementations

impl Drop for PanicGuard
[src]

[src]

Executes the destructor for this type. Read more