Struct elrond_wasm_sc_dns::CallbackProxyObj [−][src]
pub struct CallbackProxyObj<SA> where
SA: SendApi + 'static, {
pub api: SA,
}
Fields
api: SA
Trait Implementations
impl<SA> CallbackProxy for CallbackProxyObj<SA> where
SA: SendApi + 'static,
[src]
impl<SA> CallbackProxy for CallbackProxyObj<SA> where
SA: SendApi + 'static,
[src]fn set_user_name_callback(self, cb_name_hash: &H256) -> CallbackCall
[src]
impl<SA> CallbackProxyObjApi for CallbackProxyObj<SA> where
SA: SendApi + 'static,
[src]
impl<SA> CallbackProxyObjApi for CallbackProxyObj<SA> where
SA: SendApi + 'static,
[src]type BigUint = SA::AmountType
type BigInt = SA::ProxyBigInt
type Storage = SA::ProxyStorage
type Storage = SA::ProxyStorage
The code generator produces the same types in the proxy, as for the main contract.
Sometimes endpoints return types that contain a Self::Storage
type argument,
as for example in SingleValueMapper<Self::Storage, i32>
.
In order for the proxy code to compile, it is necessary to specify this type here too
(even though it is not required by the trait’s methods per se). Read more
type SendApi = SA
type ErrorApi = SA
fn new_cb_proxy_obj(api: SA) -> Self
[src]
fn into_api(self) -> Self::ErrorApi
[src]
Auto Trait Implementations
impl<SA> Send for CallbackProxyObj<SA> where
SA: Send,
SA: Send,
impl<SA> Sync for CallbackProxyObj<SA> where
SA: Sync,
SA: Sync,
impl<SA> Unpin for CallbackProxyObj<SA> where
SA: Unpin,
SA: Unpin,