Skip to main content

parse_reply

Function parse_reply 

Source
pub fn parse_reply(stdout: &[u8]) -> Option<Result<u64, String>>
Expand description

A child’s stdout line: Some(Ok(n)) for ok <n>, Some(Err(text)) for err <text> (text not empty), None for anything else.