Rust has major unsafeness around low memory that make it unsuitable in this libc type role.
See: <a href="https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;rust&#x2F;comments&#x2F;2mthq2&#x2F;how_would_a_rust_application_be_able_to_properly&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;rust&#x2F;comments&#x2F;2mthq2&#x2F;how_would_a_ru...</a> and <a href="https:&#x2F;&#x2F;lwn.net&#x2F;Articles&#x2F;644708&#x2F;" rel="nofollow">https:&#x2F;&#x2F;lwn.net&#x2F;Articles&#x2F;644708&#x2F;</a><p>Due to this issue that the rust authors seem unwilling to address, I fully recommend <i>against</i> rust for the precise roles it&#x27;s intended to be good at.