Skip to main content

Guest

Trait Guest 

Source
pub trait Guest {
    // Required method
    fn invoke(input_json: String) -> Result<String, String>;
}

Required Methods§

Source

fn invoke(input_json: String) -> Result<String, String>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§