Crate tokio_dbus
source ·Expand description
An asynchronous D-Bus implementation for the Tokio ecosystem.
So far this is a fairly low-level implementation, but is sufficient to write efficient servers without some of the flair associated with other clients (like proxies generated from xml).
To currently see how it’s used, see:
Modules§
- Types associated with the
org.freedesktop.DBus
interface. - Type
Marker
for writing to type-checked D-Bus bodies.
Structs§
- A read-only view into a buffer suitable for use as a body in a
Message
. - A buffer that can be used to write a body.
- An asynchronous D-Bus client.
- Builder of a
Connection
. - The endianness of a message.
- An error raised by this crate.
- Flags inside of a D-Bus message.
- Read an array from a buffer.
- A borrowed D-Bus message.
- An owned D-Bus message.
- A validated object path.
- A validated owned object path.
- An error constructing an object path.
- Buffer used for receiving messages through D-Bus.
- Buffer used for sending messages through D-Bus.
- A D-Bus signature.
- A D-Bus signature.
- Detailed errors raised when validation of a
Signature
fails. - Write a typed array.
- Write a struct.
Enums§
- The kind of a D-Bus message.
- A variant.
Traits§
- Types which can be conveniently used as arguments when extending buffers.
- Trait for types which can be cheaply coerced into a
Body
. - A verbatim frame that can be stored and loaded from a buffer.
- A type who’s reference can be read directly from a buffer.
- Trait used for types which can be stored with a
store()
call. - A type who’s reference can be written directly to a buffer.
Type Aliases§
- Result alias using an
Error
as the error type by default.