pub fn parse_private_message(message: &str) -> Result<PrivateMessageParts>Expand description
Parse an NMDC private message: $To: <target> From: <source> $<<source>> <message>.
Every range is taken with str::get, so a frame the hub controls cannot index outside
the string or inside a multi-byte character: anything malformed is an Err, never a
panic.