Crate dbus_crossroads[][src]

Expand description

dbus-crossroads is a framework for quickly implementing interfaces on object paths, i e server side.

To get started, you can jump into the commented examples, one for sync one for async (dbus-tokio), and one slightly more advanced, or familiarize yourself using this API reference.

Structs

Context is the struct that accompanies you through your method call handler, providing helpful information about the message sent from the client, as well as some methods to send extra messages (typically signals) in return.

Crossroads is the “main” object, containing object paths, a registry of interfaces, and a crossreference of which object paths implement which interfaces.

Struct used to build an interface.

Contains a reference to a registered interface.

Struct used to describe a method when building an interface.

A D-Bus Method Error, containing an error name and a description.

Struct used to describe a property when building an interface.

PropContext is a struct that provides helpful information inside a get/set property handler.

Struct used to describe a signal when building an interface.