Function protobuf::parse_from_carllerche_bytes
source · [−]pub fn parse_from_carllerche_bytes<M: Message>(
bytes: &Bytes
) -> ProtobufResult<M>
👎Deprecated since 2.19: Use Message::parse_from_carllerche_bytes instead
Expand description
Parse message from Bytes
object.
Resulting message may share references to the passed bytes object.