multiversx_sc/api/uncallable/
endpoint_arg_api_uncallable.rs

1use crate::api::{endpoint_arg_api::EndpointArgumentApiImpl, EndpointArgumentApi};
2
3use super::UncallableApi;
4
5impl EndpointArgumentApi for UncallableApi {
6    type EndpointArgumentApiImpl = UncallableApi;
7
8    fn argument_api_impl() -> Self::EndpointArgumentApiImpl {
9        unreachable!()
10    }
11}
12
13impl EndpointArgumentApiImpl for UncallableApi {
14    fn get_num_arguments(&self) -> i32 {
15        unreachable!()
16    }
17
18    fn load_argument_managed_buffer(&self, _arg_id: i32, _dest: Self::ManagedBufferHandle) {
19        unreachable!()
20    }
21
22    fn load_callback_closure_buffer(&self, _dest: Self::ManagedBufferHandle) {
23        unreachable!()
24    }
25}