pub trait InjectedComponentHandler:
Send
+ Sync
+ 'static {
// Required method
fn call(&self, call: InjectedCall) -> Result<InjectedResult, String>;
}Expand description
Synchronous component implementation supplied by an embedding runtime.
Required Methods§
fn call(&self, call: InjectedCall) -> Result<InjectedResult, String>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".