pub fn encode_line<T: Serialize>(value: &T) -> Result<String, TransportError>
Serialize a value as one JSON line (no trailing newline — the transports add the \n framing themselves).
\n