Module datastore

Module datastore 

Source
Expand description

Central communication hub for Actors.

Actors access data through Readers and Writers.

Re-exportsΒ§

pub use self::combined_readers::CombinableReader;
pub use self::combined_readers::CombineReaders;
pub use self::exclusive_reader::ExclusiveReader;
pub use self::initialized_reader::InitializedReader;
pub use self::reader::Reader;
pub use self::slot::Storable;
pub use self::writer::Writer;

ModulesΒ§

combined_readers πŸ”’
exclusive_reader πŸ”’
generational πŸ”’
generational supports synchronizing the β€œgeneration” of data from a producer to multiple consumers. The producer should own a Source that is in charge of notifying when the generation is incremented. The consumers should have their own Waiters referencing this Source allowing them to wait for an update to the generation.
initialized_reader πŸ”’
reader πŸ”’
slot πŸ”’
writer πŸ”’

Derive MacrosΒ§

Storable
Implements Storable for a struct or enum.