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

Encode messages into Vec<u8>

This is not part of MiniTxRx itself because we do not want to require access to resources when encoding bytes.