multiversx_sc::api

Trait StorageReadApiImpl

Source
pub trait StorageReadApiImpl: HandleTypeInfo {
    // Required methods
    fn storage_load_managed_buffer_raw(
        &self,
        key_handle: Self::ManagedBufferHandle,
        dest: Self::ManagedBufferHandle,
    );
    fn storage_load_from_address(
        &self,
        address_handle: Self::ManagedBufferHandle,
        key_handle: Self::ManagedBufferHandle,
        dest: Self::ManagedBufferHandle,
    );

    // Provided method
    fn storage_read_api_init(&self) { ... }
}

Required Methods§

Source

fn storage_load_managed_buffer_raw( &self, key_handle: Self::ManagedBufferHandle, dest: Self::ManagedBufferHandle, )

Source

fn storage_load_from_address( &self, address_handle: Self::ManagedBufferHandle, key_handle: Self::ManagedBufferHandle, dest: Self::ManagedBufferHandle, )

Provided Methods§

Implementors§