Rust bindings for Transmission made using Rust-Bindgen.
Bindings are generated with Rust-Bindgen which means there are a number of quirks.
- Enums are a constants in the form of
enum_name_ENUM_FIELD
- Functions are named the same as the C code and don't follow Rust naming schemes.
- Uses C strings. See
CStr
in the Rust standard library.