multiversx_sc/api/uncallable/
managed_map_api_uncallable.rs

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
use crate::api::ManagedMapApiImpl;

impl ManagedMapApiImpl for super::UncallableApi {
    fn mm_new(&self) -> Self::ManagedBufferHandle {
        unreachable!()
    }

    fn mm_get(
        &self,
        _map_handle: Self::ManagedMapHandle,
        _key_handle: Self::ManagedBufferHandle,
        _value_handle: Self::ManagedBufferHandle,
    ) {
        unreachable!()
    }

    fn mm_put(
        &self,
        _map_handle: Self::ManagedMapHandle,
        _key_handle: Self::ManagedBufferHandle,
        _out_value_handle: Self::ManagedBufferHandle,
    ) {
        unreachable!()
    }

    fn mm_remove(
        &self,
        _map_handle: Self::ManagedMapHandle,
        _key_handle: Self::ManagedBufferHandle,
        _out_value_handle: Self::ManagedBufferHandle,
    ) {
        unreachable!()
    }

    fn mm_contains(
        &self,
        _map_handle: Self::ManagedMapHandle,
        _key_handle: Self::ManagedBufferHandle,
    ) -> bool {
        unreachable!()
    }
}