poison 0.1.0

Utilities for writing poisoned types.
Documentation
  • Coverage
  • 100%
    21 out of 21 items documented0 out of 20 items with examples
  • Size
  • Source code size: 8.05 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.12 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 9s Average build duration of successful builds.
  • all releases: 9s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • reem/rust-poison
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • reem

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