Crate rsbinder

source ·
Expand description

A library for Binder communication developed purely in Rust.

§License

Licensed under Apache License, Version 2.0.

§References

Re-exports§

Modules§

Macros§

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§

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§