pub fn read_message_from<B: Buf>(buffer: B) -> Result<Message, Error>
Expand description
Reads a message from the given buffer
. For streaming use cases, use
the MessageFrameDecoder
instead of this.
pub fn read_message_from<B: Buf>(buffer: B) -> Result<Message, Error>
Reads a message from the given buffer
. For streaming use cases, use
the MessageFrameDecoder
instead of this.