Safe Rust interface to Android libbinder.
This crate is primarily designed as an target for a Rust AIDL compiler backend, and should generally not be used directly by users. It is built on top of the binder NDK library to be usable by APEX modules, and therefore only exposes functionality available in the NDK interface.
Example
The following example illustrates how the AIDL backend will use this crate.
use ;
// Generated by AIDL compiler
// Creates a new local (native) service object, BnTest, and a remote proxy
// object, BpTest, that are the typed interfaces for their respective ends
// of the binder transaction. Generated by AIDL compiler.
declare_binder_interface!
// Generated by AIDL compiler
// Generated by AIDL compiler
// Generated by AIDL compiler
// User implemented:
// Local implementation of the ITest remotable interface.
;