pub fn shape_ok(command: &str, reply: &[u8]) -> boolExpand description
Whether reply has the shape the solver gives for a command named
command (the name stored in the header). This is the coarse,
name-only form of the shim’s shape check (ADR 0011): the header keeps
the command’s name, not its text, so for example an echo reply is only
checked to end a line. Every reply must be exactly one complete response
frame: two concatenated forms would add a reply to a session’s stream.