[][src]Module shine_stdext::namedstore

Structs

Index

Reference counted index to access stored items in O(1). Eventough index has a (mutable) reference to the data, to aquire it, a properly locked store is required. The referenced data is private implementation detail that shall never be exposed to the client. It is used only as an index and acessing the referenced data is not safe as other thread may update it.

ReadGuard

Guarded read access to a store

Store

Thread safe resource store. While the store is locked for reading, no resource can be updated, but new one can be created with a two phase storage policy

WriteGuard

Guarded update access to a store

Traits

Data

Data stored in the Store