begin Rust ffi