Function hrpc::encode_protobuf_message[][src]

pub fn encode_protobuf_message(msg: impl Message) -> BytesMut
Expand description

Encodes a protobuf message into a new BytesMut buffer.