1 unstable release
Uses old Rust 2015
0.1.0 | Feb 16, 2016 |
---|
#1576 in Data structures
679 downloads per month
Used in 201 crates
(via shared-mutex)
8KB
158 lines
poison
Utilities for writing poisoned types.
Documentation
Provides the Poison
and RawPoison
types for use when implementing
structures such as shareable locks that should use poisoning to
warn other threads about panicking while holding a guard, which can
leave data in an invalid state.
Usage
Use the crates.io repository; add this to your Cargo.toml
along
with the rest of your dependencies:
[dependencies]
poison = "0.1"
Author
Jonathan Reem is the primary author and maintainer of poison.
License
MIT
lib.rs
:
poison
Provides ergonomic poisoning primitives for building poisonable structures.