The rust language is inadequate for writing drivers in the C and C++ kernel, the LInux kernel creates problems and keeps reinventing the wheel, it is not a good example of stability.
In this links there is a good basis for porting drivers to Haiku:
https://dev.haiku-os.org/ticket/18191
This link shows the problem when mixing rust with C:
https://madaidans-insecurities.github.io/firefox-chromium.html#miscellaneous