kawauso_process/run/text.rs
1//! The text of one line of output
2
3use typed_fields::name;
4
5name!(
6 /// The text of one line of output
7 ///
8 /// The value holds the line without the characters that ended it. A
9 /// command writes bytes, and a byte that is part of no valid character
10 /// becomes the replacement character `U+FFFD`, so the text is always
11 /// valid UTF-8. A caller that needs the bytes as the command wrote them
12 /// reads them from the capture of the result.
13 Text
14);