pub fn encode<T: Serialize + ?Sized>(
value: &T,
encoding: Encoding,
limits: Limits,
) -> Result<Vec<u8>, Error>Expand description
Encode the fixture body with an empty root extension block.
ยงErrors
Returns the Wire encoding or budget refusal.