pub trait MyWorldImports {
// Required methods
fn greet(&mut self) -> String;
fn log(&mut self, msg: String);
}Available on crate feature
runtime and crate feature component-model and (docsrs) only.