Skip to main content

encode_frame

Function encode_frame 

Source
pub fn encode_frame<C, T>(
    frame: &BinaryFrame<C, T>,
    encoding: PayloadEncoding,
) -> Result<Vec<u8>, BinaryError>
where C: ChannelKind, T: Serialize,
Expand description

Encode without compression using the default settings.