|
il y a 5 mois | |
---|---|---|
examples | il y a 6 mois | |
src | il y a 5 mois | |
.gitignore | il y a 7 mois | |
Cargo.lock | il y a 5 mois | |
Cargo.toml | il y a 5 mois | |
LICENSE | il y a 7 mois | |
README.md | il y a 6 mois |
A Arc Mutex guarded Data.
cargo add shared
use shared::Shared;
// Wrap your structure in Shared<S> via Shared::new(S)
To run, say doc_example
just cargo run --example doc_example
.