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§
- org_
freedesktop_ dbus - Types associated with the
org.freedesktop.DBus
interface. - ty
- Type
Marker
for writing to type-checked D-Bus bodies.
Structs§
- Body
- A read-only view into a buffer suitable for use as a body in a
Message
. - BodyBuf
- A buffer that can be used to write a body.
- Connection
- An asynchronous D-Bus client.
- Connection
Builder - Builder of a
Connection
. - Endianness
- The endianness of a message.
- Error
- An error raised by this crate.
- Flags
- Flags inside of a D-Bus message.
- Load
Array - Read an array from a buffer.
- Message
- A borrowed D-Bus message.
- Message
Buf - An owned D-Bus message.
- Object
Path - A validated object path.
- Object
Path Buf - A validated owned object path.
- Object
Path Error - An error constructing an object path.
- RecvBuf
- Buffer used for receiving messages through D-Bus.
- SendBuf
- Buffer used for sending messages through D-Bus.
- Signature
- A D-Bus signature.
- Signature
Buf - A D-Bus signature.
- Signature
Error - Detailed errors raised when validation of a
Signature
fails. - Store
Array - Write a typed array.
- Store
Struct - Write a struct.
Enums§
- Message
Kind - The kind of a D-Bus message.
- Variant
- A variant.
Traits§
- Arguments
- Types which can be conveniently used as arguments when extending buffers.
- AsBody
- Trait for types which can be cheaply coerced into a
Body
. - Frame
- A verbatim frame that can be stored and loaded from a buffer.
- Read
- A type who’s reference can be read directly from a buffer.
- Storable
- Trait used for types which can be stored with a
store()
call. - Write
- A type who’s reference can be written directly to a buffer.