[PATCH v9 1/4] rust: move `CStr`'s `Display` to helper struct