Skip to main content

parse

Function parse 

Source
pub fn parse(text: &str) -> Result<Message, Error>
Expand description

Parse one message, reading the release from MSH-12.

ยงErrors

Error when the message has no usable MSH header: no segments, a first segment that is not MSH, or delimiters that cannot be read.