[][src]Function shell_protocol::messages::parse_message

pub fn parse_message(message: ChannelMessage) -> Result<Message, ProtocolError>

Parse a ChannelMessage into a ShellMessage