Struct shrust::ShellIO
[−]
[src]
pub struct ShellIO {
// some fields omitted
}Input / Output for shell execution
Methods
impl ShellIO
fn new<I, O>(input: I, output: O) -> ShellIO where I: Read + Send + 'static, O: Write + Send + 'static
Create a new Shell I/O wrapping provided Input and Output
fn new_io<T>(io: T) -> ShellIO where T: Read + Write + Send + 'static
Create a new Shell I/O wrapping provided Read/Write io