Skip to main content

encode_response

Function encode_response 

Source
pub fn encode_response<T>(
    id: u64,
    value: &T,
    limits: Limits,
) -> Result<Vec<u8>, Error>
where T: Serialize + ?Sized,
Expand description

Encode a complete response, including borrowed response projections.