multiversx_chain_vm::vm_hooks

Trait VMHooksManagedMap

Source
pub trait VMHooksManagedMap: VMHooksHandlerSource {
    // Provided methods
    fn mm_new(&self) -> RawHandle { ... }
    fn mm_get(
        &self,
        map_handle: RawHandle,
        key_handle: RawHandle,
        out_value_handle: RawHandle,
    ) { ... }
    fn mm_put(
        &self,
        map_handle: RawHandle,
        key_handle: RawHandle,
        value_handle: RawHandle,
    ) { ... }
    fn mm_remove(
        &self,
        map_handle: RawHandle,
        key_handle: RawHandle,
        out_value_handle: RawHandle,
    ) { ... }
    fn mm_contains(&self, map_handle: RawHandle, key_handle: RawHandle) -> bool { ... }
}

Provided Methods§

Source

fn mm_new(&self) -> RawHandle

Source

fn mm_get( &self, map_handle: RawHandle, key_handle: RawHandle, out_value_handle: RawHandle, )

Source

fn mm_put( &self, map_handle: RawHandle, key_handle: RawHandle, value_handle: RawHandle, )

Source

fn mm_remove( &self, map_handle: RawHandle, key_handle: RawHandle, out_value_handle: RawHandle, )

Source

fn mm_contains(&self, map_handle: RawHandle, key_handle: RawHandle) -> bool

Implementors§