fn parse(key: &[u8]) -> Option<(&'_ RoomId, &'_ UserId, bool)>Expand description
Reads a key’s room and user, and whether a thread kind follows the user.
The key is split here rather than decoded by its tuple type, because a decoder asserts the layout in debug builds and a damaged key is what this walk is for. A kind the receipt reader could not decode makes the whole key unreadable.