The get_raw functions under traffic aren't performant or clear as-is.
Either refactor to use format! macro or refactor to allocate a predefined string length and then you can push_str to the same buffer.
Best performance probably uses buffer allocation and push_str.
Clearest intent probably relies on format! macro.