Constant measureme::event_id::SEPARATOR_BYTE[][src]

pub const SEPARATOR_BYTE: &str = "\x1E";
Expand description

Event IDs are strings conforming to the following grammar:

  <event_id> = <label> {<argument>}
  <label> = <text>
  <argument> = '\x1E' <text>
  <text> = regex([^[[:cntrl:]]]+) // Anything but ASCII control characters

This means there’s always a “label”, followed by an optional list of arguments. Future versions my support other optional suffixes (with a tag other than ‘\x11’ after the ‘\x1E’ separator), such as a “category”. The byte used to separate arguments from the label and each other.