pub trait PluginEncoder: Encoder<PluginInput> + Encoder<PluginOutput> {
// Required method
fn name(&self) -> &str;
}
Expand description
Encoding scheme that defines a plugin’s communication protocol with Nu
Required Methods§
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.