pub fn encode_ndjson(event: &RelayEvent) -> Result<String, Error>Expand description
Encode a RelayEvent as a single NDJSON line (terminated by \n).
pub fn encode_ndjson(event: &RelayEvent) -> Result<String, Error>Encode a RelayEvent as a single NDJSON line (terminated by \n).