pub fn read_input<R: BufRead, W>(stream: &mut MenuStream<R, W>) -> MenuResult<String> {
    let mut out = String::new();
    stream.read_line(&mut out)?;
    Ok(out.trim().to_owned())
}
/// Returns the input value as a String from the given input stream.
Returns the input value as a String from the given input stream.
Returns the input value as a String from the given input stream .
pub fn read_input<R: BufRead, W>(stream: &mut MenuStream<R, W>) -> MenuResult<String> {
    let mut out = String::new();
    stream.read_line(&mut out)?;
    Ok(out.trim().to_owned())
}
pub fn read_input < R : BufRead , W > ( stream : & mut MenuStream < R , W > ) -> MenuResult < String > { let mut out = String :: new ( ) ; stream . read_line ( & mut out ) ? ; Ok ( out . trim ( ) . to_owned ( ) ) }
Returns the input value as a String from the given input stream.
Returns the input value as a String from the given input stream .
stream
&mut MenuStream<R, W>