Trait wasmer_runtime_core_fl::loader::Instance [−][src]
pub trait Instance { type Error: Debug; fn call(&mut self, id: usize, args: &[Value]) -> Result<u128, Self::Error>; fn read_memory(
&mut self,
_offset: u32,
_len: u32
) -> Result<Vec<u8>, Self::Error> { ... } fn write_memory(
&mut self,
_offset: u32,
_len: u32,
_buf: &[u8]
) -> Result<(), Self::Error> { ... } }
Expand description
This trait represents an instance used by the loader.
Associated Types
Required methods
Provided methods
Read memory at the given offset and length.