Module linera_views::views
source · Expand description
Elementary data-structures implementing the views::View
trait.
Modules§
- The
BucketQueueView
implements a queue that can push on the back and delete on the front and group data in buckets. - The
CollectionView
implements a map structure whose keys are ordered and the values are views. - Wrapping a view to compute a hash.
- The implementation of a key-value store view. We implement two types:
- The
LogView
implements a log list that can be pushed. - The
MapView
implements a map with ordered keys. TheMapView
implements a map that can be modified. - The
QueueView
implements a queue that can push on the back and delete on the front. - The
ReentrantCollectionView
implements a map structure whose keys are ordered and the values are views with concurrent access. - The
RegisterView
implements a register for a single value. - The
SetView
implements a set with ordered entries.
Enums§
- Main error type for the crate.
Constants§
- The minimum value for the view tags. Values in
0..MIN_VIEW_TAG
are used for other purposes.
Traits§
- A
ClonableView
supports being shared (unsafely) by cloning it. - A
RootView
that also supports crypto hash - A
View
that also supports crypto hash - A view that supports hashing its values.
- The requirement for the hasher type in
HashableView
. - A
View
whose staged modifications can be saved in storage. - A view gives exclusive access to read and write the data stored at an underlying address in storage.