Trait elrond_wasm::api::StorageReadApiImpl
source · [−]pub trait StorageReadApiImpl: HandleTypeInfo {
fn storage_load_len(&self, key: &[u8]) -> usize;
fn storage_load_to_heap(&self, key: &[u8]) -> Box<[u8]>ⓘNotable traits for Box<I, A>impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;
;
fn storage_load_big_uint_raw(&self, key: &[u8], dest: Self::BigIntHandle);
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
);
fn storage_read_api_init(&self) { ... }
}
Required Methods
fn storage_load_len(&self, key: &[u8]) -> usize
fn storage_load_to_heap(&self, key: &[u8]) -> Box<[u8]>ⓘNotable traits for Box<I, A>impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;