Skip to main content

encoded_len

Function encoded_len 

Source
pub fn encoded_len<T: Serialize + ?Sized>(
    value: &T,
    limits: Limits,
) -> Result<usize, Error>
Expand description

Measure one native payload with no output allocation; bytes excludes a frame.