1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
// Copyright (c) Zefchain Labs, Inc.
// SPDX-License-Identifier: Apache-2.0
//! Aliases for views using the [`ViewStorageContext`].
use ViewStorageContext;
/// An alias to [`linera_views::collection_view::ByteCollectionView`] that uses the
/// WebAssembly-specific [`ViewStorageContext`].
pub type ByteCollectionView<V> =
ByteCollectionView;
/// An alias to [`linera_views::map_view::ByteMapView`] that uses the
/// WebAssembly-specific [`ViewStorageContext`].
pub type ByteMapView<V> = ByteMapView;
/// An alias to [`linera_views::set_view::ByteSetView`] that uses the WebAssembly-specific
/// [`ViewStorageContext`].
pub type ByteSetView = ByteSetView;
/// An alias to [`linera_views::collection_view::CollectionView`] that uses the
/// WebAssembly-specific [`ViewStorageContext`].
pub type CollectionView<K, V> =
CollectionView;
/// An alias to [`linera_views::collection_view::CustomCollectionView`] that uses the
/// WebAssembly-specific [`ViewStorageContext`].
pub type CustomCollectionView<K, V> =
CustomCollectionView;
/// An alias to [`linera_views::map_view::CustomMapView`] that uses the
/// WebAssembly-specific [`ViewStorageContext`].
pub type CustomMapView<K, V> = CustomMapView;
/// An alias to [`linera_views::set_view::CustomSetView`] that uses the
/// WebAssembly-specific [`ViewStorageContext`].
pub type CustomSetView<W> = CustomSetView;
/// An alias to [`linera_views::log_view::LogView`] that uses the WebAssembly-specific
/// [`ViewStorageContext`].
pub type LogView<T> = LogView;
/// An alias to [`linera_views::map_view::MapView`] that uses the WebAssembly-specific
/// [`ViewStorageContext`].
pub type MapView<K, V> = MapView;
/// An alias to [`linera_views::queue_view::QueueView`] that uses the WebAssembly-specific
/// [`ViewStorageContext`].
pub type QueueView<T> = QueueView;
/// An alias to [`linera_views::collection_view::ReadGuardedView`] that uses the
/// WebAssembly-specific [`ViewStorageContext`].
pub type ReadGuardedView<'a, W> = ReadGuardedView;
/// An alias to [`linera_views::register_view::RegisterView`] that uses the
/// WebAssembly-specific [`ViewStorageContext`].
pub type RegisterView<T> = RegisterView;
/// An alias to [`linera_views::set_view::SetView`] that uses the WebAssembly-specific
/// [`ViewStorageContext`].
pub type SetView<W> = SetView;