pub fn id_in(line: &str) -> Option<u64>Expand description
Best-effort read of a line’s id, for correlating an error with the
request that caused it.
parse_request fails before it can build a Request, which would
otherwise leave a client with several requests outstanding unable to
tell which one was rejected. A line too broken to yield an id gets
None — the one case where a client has to fall back to order.