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.
- Iface
Builder - Struct used to build an interface.
- Iface
Token - Contains a reference to a registered interface.
- Method
Desc - Struct used to describe a method when building an interface.
- Method
Err - A D-Bus Method Error, containing an error name and a description.
- Prop
Builder - Struct used to describe a property when building an interface.
- Prop
Context - PropContext is a struct that provides helpful information inside a get/set property handler.
- Signal
Desc - Struct used to describe a signal when building an interface.