pub fn encode_response_into<M: Method>(
value: &M::Response,
bytes: &mut Vec<u8>,
) -> Result<(), Error>Expand description
Encode a response into reusable scratch storage, replacing its contents.
Capacity and error behavior match encode_request_into. Reusing scratch
storage overwrites previous frames; retain retry bytes independently.