multiversx_sc/api/uncallable/
managed_type_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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
use crate::api::{ManagedTypeApi, ManagedTypeApiImpl};

use super::UncallableApi;

impl ManagedTypeApi for UncallableApi {
    type ManagedTypeApiImpl = Self;

    fn managed_type_impl() -> Self::ManagedTypeApiImpl {
        unreachable!()
    }
}

impl ManagedTypeApiImpl for UncallableApi {
    fn mb_to_big_int_unsigned(
        &self,
        _buffer_handle: Self::ManagedBufferHandle,
        _dest: Self::BigIntHandle,
    ) {
        unreachable!()
    }

    fn mb_to_big_int_signed(
        &self,
        _buffer_handle: Self::ManagedBufferHandle,
        _dest: Self::BigIntHandle,
    ) {
        unreachable!()
    }

    fn mb_from_big_int_unsigned(
        &self,
        _big_int_handle: Self::BigIntHandle,
        _dest: Self::ManagedBufferHandle,
    ) {
        unreachable!()
    }

    fn mb_from_big_int_signed(
        &self,
        _big_int_handle: Self::BigIntHandle,
        _dest: Self::ManagedBufferHandle,
    ) {
        unreachable!()
    }

    fn mb_to_big_float(
        &self,
        _buffer_handle: Self::ManagedBufferHandle,
        _dest: Self::BigFloatHandle,
    ) {
        unreachable!()
    }

    fn mb_from_big_float(
        &self,
        _big_float_handle: Self::BigFloatHandle,
        _dest: Self::ManagedBufferHandle,
    ) {
        unreachable!()
    }
}