Skip to main content

encode

Function encode 

Source
pub fn encode<T: Serialize>(message: &T) -> Result<Vec<u8>, Error>
Expand description

Serializes a message as one line, including the trailing newline.