pub fn parse(frame: &[u8]) -> Result<Response, ProtocolError>Expand description
Parse a response frame (without trailing \r) into a typed Response.
ยงErrors
Returns ProtocolError::UnknownCommand if the mnemonic is not
recognized. Returns ProtocolError::FieldParse for recognised
commands whose payload parsing is not yet implemented.