Expand description
Helper types for using linera_views to store application state.
Re-exports§
pub use linera_views;
Structs§
- KeyValue
Store - A type to interface with the key value storage provided to applications.
Enums§
- View
Error - Main error type for the crate.
Traits§
- Custom
Serialize - Sometimes we need a serialization that is different from the usual one and
for example preserves order.
{to/from}_custom_byteshas to be coherent with theBorrowtrait. - 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.
Type Aliases§
- Byte
Collection View - An alias to
linera_views::collection_view::ByteCollectionViewthat uses the WebAssembly-specificViewStorageContext. - Byte
MapView - An alias to
linera_views::map_view::ByteMapViewthat uses the WebAssembly-specificViewStorageContext. - Byte
SetView - An alias to
linera_views::set_view::ByteSetViewthat uses the WebAssembly-specificViewStorageContext. - Collection
View - An alias to
linera_views::collection_view::CollectionViewthat uses the WebAssembly-specificViewStorageContext. - Custom
Collection View - An alias to
linera_views::collection_view::CustomCollectionViewthat uses the WebAssembly-specificViewStorageContext. - Custom
MapView - An alias to
linera_views::map_view::CustomMapViewthat uses the WebAssembly-specificViewStorageContext. - Custom
SetView - An alias to
linera_views::set_view::CustomSetViewthat uses the WebAssembly-specificViewStorageContext. - LogView
- An alias to
linera_views::log_view::LogViewthat uses the WebAssembly-specificViewStorageContext. - MapView
- An alias to
linera_views::map_view::MapViewthat uses the WebAssembly-specificViewStorageContext. - Queue
View - An alias to
linera_views::queue_view::QueueViewthat uses the WebAssembly-specificViewStorageContext. - Read
Guarded View - An alias to
linera_views::collection_view::ReadGuardedViewthat uses the WebAssembly-specificViewStorageContext. - Register
View - An alias to
linera_views::register_view::RegisterViewthat uses the WebAssembly-specificViewStorageContext. - SetView
- An alias to
linera_views::set_view::SetViewthat uses the WebAssembly-specificViewStorageContext. - View
Storage Context - Implementation of
linera_views::context::Contextto be used for data storage by Linera applications.