atomic-state 0.1.5

This library provides a static asynchronous data that can be accessed safely and concurrently from any part of your program
Documentation
1
2
3
4
pub mod state;   pub use state::State;
pub mod guard;   pub use guard::StateGuard;

pub(super) const ERR_MSG: &str = "The data has been poisoned!";