pub trait PluginClient:
Send
+ Sync
+ 'static {
// Required methods
fn call(&self, method: &str, request: &[u8]) -> Result<Bytes, String>;
fn shutdown(&self);
}Expand description
One loaded plugin, native or test double.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl PluginClient for NativeClient
Available on Unix only.