Expand description
Elementary data-structures implementing the views::View trait.
Modules§
- bucket_
queue_ view - The
BucketQueueViewimplements a queue that can push on the back and delete on the front and group data in buckets. - collection_
view - The
CollectionViewimplements a map structure whose keys are ordered and the values are views. - hashable_
wrapper - Wrapping a view to memoize hashing.
- historical_
hash_ wrapper - Wrapping a view to compute hash based on the history of modifications to the view.
- key_
value_ store_ view - The implementation of a key-value store view. We implement two types:
- log_
view - The
LogViewimplements a log list that can be pushed. - map_
view - The
MapViewimplements a map with ordered keys. TheMapViewimplements a map that can be modified. - queue_
view - The
QueueViewimplements a queue that can push on the back and delete on the front. - reentrant_
collection_ view - The
ReentrantCollectionViewimplements a map structure whose keys are ordered and the values are views with concurrent access. - register_
view - The
RegisterViewimplements a register for a single value. - set_
view - The
SetViewimplements a set with ordered entries.
Constants§
- MIN_
VIEW_ TAG - The minimum value for the view tags. Values in
0..MIN_VIEW_TAGare used for other purposes.
Traits§
- Clonable
View - A view that can be shared (unsafely) by cloning it.
- Crypto
Hash Root View - A
RootViewthat also supports crypto hash - Crypto
Hash View - A
Viewthat also supports crypto hash - Hashable
View - A view that supports hashing its values.
- Hasher
- The requirement for the hasher type in
HashableView. - Replace
Context - A view which can have its context replaced.
- Root
View - A
Viewwhose staged modifications can be saved in storage. - View
- A view gives exclusive access to read and write the data stored at an underlying address in storage.