nu_engine::command_prelude

Trait IntoPipelineData

Source
pub trait IntoPipelineData {
    // Required methods
    fn into_pipeline_data(self) -> PipelineData;
    fn into_pipeline_data_with_metadata(
        self,
        metadata: impl Into<Option<PipelineMetadata>>,
    ) -> PipelineData;
}

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.

Implementors§

Source§

impl<V> IntoPipelineData for V
where V: Into<Value>,