binder

Module binder_impl

Source
Expand description

Advanced Binder APIs needed internally by AIDL or when manually using Binder without AIDL.

Structs§

  • Rust wrapper around Binder remotable objects.
  • Container for a message (data and object references) that can be sent through Binder.
  • Opaque reference to the type of a Binder interface.
  • Container for a message (data and object references) that can be sent through Binder.

Enums§

Constants§

Traits§

  • An object that can be associate with an InterfaceClass.
  • A runtime for executing an async binder server.
  • A struct whose instances can be restored from a crate::parcel::Parcel.
  • Helper trait for types that can be deserialized as arrays. Defaults to calling Deserialize::deserialize() manually for every element, but can be overridden for custom implementations like readByteArray.
  • Helper trait for types that can be nullable when deserialized.
  • Internal interface of binder local or remote objects for making transactions.
  • Metadata that ParcelableHolder needs for all parcelables.
  • Generic interface to remote binder objects.
  • A local service that can be remotable via Binder.
  • A struct whose instances can be written to a crate::parcel::Parcel.
  • Helper trait for types that can be serialized as arrays. Defaults to calling Serialize::serialize() manually for every element, but can be overridden for custom implementations like writeByteArray.
  • Helper trait for types that can be nullable when serialized.
  • 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.
  • Super-trait for unstructured Binder parcelables, i.e. those implemented manually.

Type Aliases§