Crate nu_plugin_engine

source ·
Expand description

Provides functionality for running Nushell plugins from a Nushell engine.

Re-exports§

  • pub use interface::PluginInterface;

Structs§

  • A box that can keep a plugin that was spawned persistent for further uses. The plugin may or may not be currently running. [.get()] gets the currently running plugin, or spawns it if it’s not running.
  • Wraps a PluginCustomValue together with its PluginSource, so that the CustomValue methods can be implemented by calling the plugin, and to ensure that any custom values sent to a plugin came from it originally.
  • The command declaration proxy used within the engine for all plugin commands.
  • The execution context of a plugin command. Can be borrowed.
  • Plugin garbage collector
  • Manages reading and dispatching messages for [PluginInterface]s.
  • The source of a custom value or plugin command. Includes a weak reference to the persistent plugin so it can be retrieved.

Traits§

Functions§