Crate nu_protocol
source ·Re-exports§
pub use ast::Unit;
pub use engine::ENV_VARIABLE_ID;
pub use engine::IN_VARIABLE_ID;
pub use engine::NU_VARIABLE_ID;
pub use util::BufferedReader;
pub use config::*;
pub use span::*;
Modules§
Macros§
Structs§
- A labeled span within a
LabeledError
. - Error when an invalid plugin filename was encountered.
- A very generic type of error used for interfacing with external code, such as scripts and plugins.
- A potentially infinite stream of values, optionally with a mean to send a Ctrl-C signal to stop the stream from continuing.
- Collection of definitions that can be exported from a module
- Metadata that is valid for the whole
PipelineData
- A single plugin definition from a
PluginRegistryFile
. - A simple wrapper for Signature that includes examples.
Enums§
- Describes where the particular
PipelineMetadata
originates. - Describes where to direct the stdout or stderr output stream of external command to.
- The foundational abstraction for input and output to commands
- Possibly valid data about a plugin in a
PluginRegistryFile
. If deserialization fails, it will beInvalid
. - The fundamental error type for the evaluation engine. These cases represent different kinds of errors the evaluator might face, along with helpful spans to label. An error renderer will take this error value and pass it into an error viewer to display to the user.
- The syntactic shapes that describe how a sequence should be parsed.
- Core structured values that pass through the pipeline in Nushell.
Traits§
- Trait definition for a custom
Value
type - Trait for plugins registered in the
EngineState
.
Functions§
- Finds the Levenshtein distance between two strings.