Skip to main content

parse_reply

Function parse_reply 

pub fn parse_reply(line: &str) -> Option<(&str, Result<Reply, Error>)>
Expand description

Reads a reply line. Returns None for a line without the prefix, which is plug-in output.

Plug-in output without a line end may come before the prefix on the same line; it comes back first, apart from the reply.