Function hydroflow::util::serialize_to_bytes

source ยท
pub fn serialize_to_bytes<T>(msg: T) -> Bytes
where T: Serialize,
Expand description

Serialize a message to bytes using bincode.