pub fn read_query(payload: &[u8]) -> Result<Request<'_>, Refusal>Expand description
A call’s query payload read as a request, or the first refusal that
applies (core 0.92 §7.5). The Encoding is not read: a form travels
under zenoh/bytes (ENCODING), which the caller tells.
§Errors
Refusal::Empty, Refusal::Reserved, Refusal::WrongSample
for any form but a value, or Refusal::RequestRun, in that order.