Expand description
Elementary data-structures implementing the views::View
trait.
Modules§
- bucket_
queue_ view - The
BucketQueueView
implements a queue that can push on the back and delete on the front and group data in buckets. - collection_
view - The
CollectionView
implements a map structure whose keys are ordered and the values are views. - hashable_
wrapper - Wrapping a view to compute a hash.
- key_
value_ store_ view - The implementation of a key-value store view. We implement two types:
- log_
view - The
LogView
implements a log list that can be pushed. - map_
view - The
MapView
implements a map with ordered keys. TheMapView
implements a map that can be modified. - queue_
view - The
QueueView
implements a queue that can push on the back and delete on the front. - reentrant_
collection_ view - The
ReentrantCollectionView
implements a map structure whose keys are ordered and the values are views with concurrent access. - register_
view - The
RegisterView
implements a register for a single value. - set_
view - The
SetView
implements a set with ordered entries.
Constants§
- MIN_
VIEW_ TAG - The minimum value for the view tags. Values in
0..MIN_VIEW_TAG
are used for other purposes.
Traits§
- Clonable
View - A
ClonableView
supports being shared (unsafely) by cloning it. - Crypto
Hash Root View - A
RootView
that also supports crypto hash - Crypto
Hash View - A
View
that also supports crypto hash - Hashable
View - A view that supports hashing its values.
- Hasher
- The requirement for the hasher type in
HashableView
. - Root
View - A
View
whose 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.