Skip to main content

Module dbus

Module dbus 

Source
Expand description

A D-Bus client and server, spoken directly.

D-Bus is a wire protocol over a Unix socket, so this talks it rather than binding libdbus: codec marshals, message frames, connection authenticates and dispatches. No C library, no bindings, no build step.

codec and value are pure byte manipulation and build everywhere, so the fiddly part — alignment and signature-directed decoding — is unit-tested on any host rather than only inside a container.

Re-exports§

pub use codec::CodecError;
pub use codec::Decoder;
pub use codec::Encoder;
pub use value::Value;
pub use connection::Connection;
pub use message::Message;
pub use message::MessageType;

Modules§

codec
Marshalling values to and from the D-Bus wire format.
connection
A D-Bus connection: authenticate, dispatch, serve.
fds
Receiving file descriptors over D-Bus.
message
D-Bus message framing.
value
The D-Bus type system.