macro_rules! rumtk_read_stdin {
( ) => { ... };
}
Expand description
Reads STDIN and unescapes the incoming message. Return this unescaped message.
ยงExample
use rumtk_core::core::RUMResult;
use rumtk_core::strings::RUMString;
use crate::rumtk_core::rumtk_read_stdin;
fn test_read_stdin() -> RUMResult<RUMString> {
rumtk_read_stdin!()
}
match test_read_stdin() {
Ok(s) => (),
Err(e) => panic!("Error reading stdin because => {}", e)
}