pub trait Guest {
    // Required methods
    fn render(payload: String) -> String;
    fn render_html(payload: String) -> String;
    fn describe(req: String) -> String;
}

Required Methods§

Object Safety§

This trait is not object safe.

Implementors§

source§

impl Guest for Component

Specific implementation for wit-bindgen and bindings generation.