Struct bitflags::__core::sync::PoisonError [] [src]

pub struct PoisonError<T> {
    // some fields omitted
}
1.0.0
[]

A type of error which can be returned whenever a lock is acquired.

Both Mutexes and RwLocks are poisoned whenever a thread fails while the lock is held. The precise semantics for when a lock is poisoned is documented on each lock, but once a lock is poisoned then all future acquisitions will return this error.