pub fn message_to_wire_cached(
from: &str,
value: &RuntimeValue,
codec: WireCodec,
integrity: WireIntegrity,
cache: &mut WireSchemaCache,
) -> Result<Vec<u8>, String>Expand description
As message_to_wire_with, but a known struct schema is sent by reference
instead of inline (per the cache’s WireSchemaMode).