Crate dbus_crossroads

Crate dbus_crossroads 

Source
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
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
Crossroads is the “main” object, containing object paths, a registry of interfaces, and a crossreference of which object paths implement which interfaces.
IfaceBuilder
Struct used to build an interface.
IfaceToken
Contains a reference to a registered interface.
MethodDesc
Struct used to describe a method when building an interface.
MethodErr
A D-Bus Method Error, containing an error name and a description.
PropBuilder
Struct used to describe a property when building an interface.
PropContext
PropContext is a struct that provides helpful information inside a get/set property handler.
SignalDesc
Struct used to describe a signal when building an interface.