Expand description
Re-exports§
pub use parcel::Parcel;
pub use status::ExceptionCode;
pub use status::Status;
pub use error::Result;
pub use error::StatusCode;
pub use file_descriptor::ParcelFileDescriptor;
pub use parcelable_holder::ParcelableHolder;
pub use parcelable_holder::ParcelableMetadata;
pub use binder_async::BinderAsyncPool;
pub use binder_async::BinderAsyncRuntime;
pub use binder_async::BoxFuture;
pub use proxy::*;
pub use native::*;
pub use parcelable::*;
Modules§
Macros§
- Declare an AIDL enumeration.
- Declare a binder interface.
- Implement
Deserialize
trait and friends for a parcelable - Implement
Serialize
trait and friends for a parcelable
Structs§
- Strong reference to a binder object.
- Strong reference to a binder object
- Wrapper around Tokio runtime types for providing a runtime to a binder server.
- Weak reference to a binder object.
- Weak reference to a binder object
Enums§
- Interface stability promise
- Use the Tokio
spawn_blocking
pool with AIDL.
Constants§
- Corresponds to TF_CLEAR_BUF – clear transaction buffers after call is made.
- Corresponds to TF_ONE_WAY – an asynchronous call.
- Set to the vendor flag if we are building for the VNDK, 0 otherwise
Traits§
- Interface for receiving a notification when a binder object is no longer valid.
- Trait for converting a generic Binder object into a specific Binder
- Interface of binder local or remote objects.
- Super-trait for Binder interfaces.
- A local service that can be remotable via Binder.
- Implemented by sync interfaces to specify what the associated async interface is. Generic to handle the fact that async interfaces are generic over a thread pool.
- Implemented by async interfaces to specify what the associated sync interface is.
- A transactable object that can be used to process Binder commands.
Functions§
- Retrieve an existing service for a particular interface, sleeping for a few seconds if it doesn’t yet exist.
Type Aliases§
- Binder action to perform.
- Additional operation flags.