pub fn parse_stream_token(raw: &str) -> Result<StreamToken, MatrixError>Expand description
"t{stream_id}", a bare "0", or a sync token "s{stream_id}_{typing_gen}"
— see the module doc. Anything else, and any negative stream id, is
refused with M_INVALID_PARAM.