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_bytes
has to be coherent with theBorrow
trait. - 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.
Type Aliases§
- Byte
Collection View - An alias to
linera_views::collection_view::ByteCollectionView
that uses the WebAssembly-specificViewStorageContext
. - Byte
MapView - An alias to
linera_views::map_view::ByteMapView
that uses the WebAssembly-specificViewStorageContext
. - Byte
SetView - An alias to
linera_views::set_view::ByteSetView
that uses the WebAssembly-specificViewStorageContext
. - Collection
View - An alias to
linera_views::collection_view::CollectionView
that uses the WebAssembly-specificViewStorageContext
. - Custom
Collection View - An alias to
linera_views::collection_view::CustomCollectionView
that uses the WebAssembly-specificViewStorageContext
. - Custom
MapView - An alias to
linera_views::map_view::CustomMapView
that uses the WebAssembly-specificViewStorageContext
. - Custom
SetView - An alias to
linera_views::set_view::CustomSetView
that uses the WebAssembly-specificViewStorageContext
. - LogView
- An alias to
linera_views::log_view::LogView
that uses the WebAssembly-specificViewStorageContext
. - MapView
- An alias to
linera_views::map_view::MapView
that uses the WebAssembly-specificViewStorageContext
. - Queue
View - An alias to
linera_views::queue_view::QueueView
that uses the WebAssembly-specificViewStorageContext
. - Read
Guarded View - An alias to
linera_views::collection_view::ReadGuardedView
that uses the WebAssembly-specificViewStorageContext
. - Register
View - An alias to
linera_views::register_view::RegisterView
that uses the WebAssembly-specificViewStorageContext
. - SetView
- An alias to
linera_views::set_view::SetView
that uses the WebAssembly-specificViewStorageContext
. - View
Storage Context - Implementation of
linera_views::context::Context
to be used for data storage by Linera applications.