multiversx_sc/api/uncallable/
print_api_uncallable.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use crate::{
    api::{PrintApi, PrintApiImpl},
    formatter::FormatBufferIgnore,
};

use super::UncallableApi;

impl PrintApi for UncallableApi {
    type PrintApiImpl = UncallableApi;

    fn print_api_impl() -> Self::PrintApiImpl {
        unreachable!()
    }
}

impl PrintApiImpl for UncallableApi {
    type Buffer = FormatBufferIgnore;
}