pub fn assert_serialization_roundtrip<T: Serialize + DeserializeOwned + PartialEq + Debug>(
value: &T,
)Expand description
Assert that canonical bytes deserialize back to a semantically identical value — the envelope, each entity, and the volatile section must all survive the roundtrip.