I wonder if using Rust here adds any safety, or how "much" it adds, because there is a lot of "pub unsafe extern "C"" in the Rust code, there are many uses of "unsafe" (that do affect other parts of the code). In this situation, does using Rust make a significant difference in terms of safety? Genuinely curious.