Trait node_testing::client::sc_executor::sp_wasm_interface::ReadPrimitive [−][src]
pub trait ReadPrimitive<T> where
T: PointerType, { fn read_primitive(&self, ptr: Pointer<T>) -> Result<T, String>; }
Expand description
Something that can read a primitive from a wasm memory location.
Required methods
fn read_primitive(&self, ptr: Pointer<T>) -> Result<T, String>
fn read_primitive(&self, ptr: Pointer<T>) -> Result<T, String>
Read a primitive from the given memory location ptr
.