pub fn parse_reply(
buf: &[u8],
expect: &Expect,
) -> Result<Option<(Reply, usize)>, WireError>Expand description
Read one complete reply for expect off the front of buf.
Ok(None) means more bytes are needed and nothing was consumed; Ok(Some((reply, n)))
consumed n octets.