Trait wasmtime::component::bindgen_examples::_2_world_exports::my::project::host::Host
source · pub trait Host {
// Required methods
fn gen_random_integer(&mut self) -> u32;
fn sha256(&mut self, bytes: Vec<u8>) -> String;
}
Available on crate feature
runtime
and crate feature component-model
and docsrs
only.