Expand description
Async version of connection.
This module requires the futures
feature to be enabled.
Current status:
- Basic client functionality is up and running, i e, you can make method calls and receive incoming messages (e g signals).
- As for server side code, you can use the
tree
module with this connection, but it does not support async method handlers.
You’re probably going to need a companion crate - dbus-tokio - for this connection to make sense. (Although you can also just call read_write and process_all at regular intervals, and possibly set a timeout handler.)
Modules
This module contains some standard interfaces and an easy way to call them.
Structs
A connection to D-Bus, async version, which is Send but not Sync.
A connection to D-Bus, thread local + async version
Future method reply, used while waiting for a method call reply from the server.
A struct used to handle incoming matches
A struct that wraps a connection, destination and path.
A connection to D-Bus, Send + Sync + async version
Traits
Internal helper trait for async method replies.
Internal helper trait, implemented for connections that process incoming messages.
Type Definitions
Internal callback for the executor when a timeout needs to be made.
Internal callback for the executor when we need wakeup a task