multiversx_sc::api

Trait EndpointFinishApiImpl

Source
pub trait EndpointFinishApiImpl: HandleTypeInfo {
    // Required methods
    fn finish_slice_u8(&self, slice: &[u8]);
    fn finish_big_int_raw(&self, handle: Self::BigIntHandle);
    fn finish_big_uint_raw(&self, handle: Self::BigIntHandle);
    fn finish_managed_buffer_raw(&self, handle: Self::ManagedBufferHandle);
    fn finish_u64(&self, value: u64);
    fn finish_i64(&self, value: i64);
}
Expand description

Interface to only be used by code generated by the macros. The smart contract code doesn’t have access to these methods directly.

Required Methods§

Source

fn finish_slice_u8(&self, slice: &[u8])

Source

fn finish_big_int_raw(&self, handle: Self::BigIntHandle)

Source

fn finish_big_uint_raw(&self, handle: Self::BigIntHandle)

Source

fn finish_managed_buffer_raw(&self, handle: Self::ManagedBufferHandle)

Source

fn finish_u64(&self, value: u64)

Source

fn finish_i64(&self, value: i64)

Implementors§