pub fn projected_len<T: Serialize>(
value: &Projected<'_, T>,
encoding: Encoding,
limits: Limits,
) -> Result<usize, Error>Expand description
Measure an already projected message, including its root block and any frame header. Preparation of the projected fields uses the caller’s staging allowance.
§Errors
Returns a sizing, serialization or allowance error.