[][src]Module rustbus::message_builder

Helps in building messages conveniently

Structs

CallBuilder

Created by MessageBuilder::call. Use it to make a new call to a service

DynamicHeader

The dynamic part of a dbus message header

MarshalledMessage

Message received by a connection or in preparation before being sent over a connection.

MarshalledMessageBody

The body accepts everything that implements the Marshal trait (e.g. all basic types, strings, slices, Hashmaps,.....) And you can of course write an Marshal impl for your own datastrcutures

MessageBodyParser

Iterate over the messages parameters

MessageBuilder

Starting point for new messages. Create either a call or a signal

SignalBuilder

Created by MessageBuilder::signal. Use it to make a new signal

Enums

HeaderFlags

Flags that can be set in the message header

MessageType

Types a message might have

Functions

marshal_as_variant

Helper function you might need, if the dbus API you use has Variants somewhere inside nested structures. If the the API has a Variant at the top-level you can use MarshalledMessageBody::push_variant.