Skip to main content

encode_frame

Function encode_frame 

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

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