Skip to main content

encode_frame

Function encode_frame 

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

Encode any Serialize value into a length-prefixed MessagePack frame.