//! # Luthien Plugin IO
//!//! This module provides functions for reading and writing from Luthien's stdio.
usecrate::Input;useipipe::{OnCleanup, Pipe};pubuse ipipe;implInput{/// Get an [`ipipe::Pipe`] which can be used to read input and print output to the parent
/// Luthien process.
pubfnio(&self)->Option<ipipe::Result<Pipe>>{self.pipe_path
.as_ref().map(|path|Pipe::open(path,OnCleanup::NoDelete))}}