Struct poison::RawPoisonGuard [] [src]

pub struct RawPoisonGuard<'poison> { /* fields omitted */ }

A guard on a RawPoison.

If the current thread panics before this instance is dropped, the RawPoison will become poisoned when this instance drops.

Trait Implementations

impl<'poison> Debug for RawPoisonGuard<'poison>
[src]

Formats the value using the given formatter.

impl<'poison> Drop for RawPoisonGuard<'poison>
[src]

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