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§

source

fn name(&self) -> &str

The name of the encoder (e.g., json)

Object Safety§

This trait is not object safe.

Implementors§