multiversx_sc/api/uncallable/
storage_api_uncallable.rs1use crate::api::{StorageReadApi, StorageReadApiImpl, StorageWriteApi, StorageWriteApiImpl};
2
3use super::UncallableApi;
4
5impl StorageReadApi for UncallableApi {
6 type StorageReadApiImpl = Self;
7
8 fn storage_read_api_impl() -> Self {
9 unreachable!()
10 }
11}
12
13impl StorageReadApiImpl for UncallableApi {
14 fn storage_load_managed_buffer_raw(&self, _key_handle: i32, _dest: i32) {
15 unreachable!()
16 }
17
18 fn storage_load_from_address(&self, _address_handle: i32, _key_handle: i32, _dest: i32) {
19 unreachable!()
20 }
21}
22
23impl StorageWriteApi for UncallableApi {
24 type StorageWriteApiImpl = UncallableApi;
25
26 fn storage_write_api_impl() -> Self::StorageWriteApiImpl {
27 unreachable!()
28 }
29}
30
31impl StorageWriteApiImpl for super::UncallableApi {
32 fn storage_store_managed_buffer_raw(
33 &self,
34 _key_handle: Self::ManagedBufferHandle,
35 _value_handle: Self::ManagedBufferHandle,
36 ) {
37 unreachable!()
38 }
39}