Module rustbus::connection[][src]

Expand description

Different connection types you will need to talk to the bus

  • ll_conn is the basic send and recive primitives used to build the other connection types
  • dispatch_conn is meant for services that need to dispatch calls to different handlers
  • rpc_conn is meant for clients that make calls to services on the bus

Modules

A connection type that allows dispatching method calls to different handlers.

The connection stuff you probably want to use. Conn is the lowlevel abstraction RpcConn is the higher level wrapper with convenience functions over the Conn struct.

Enums

Errors that can occur when using the Conn/RpcConn

Functions

Convenience function that returns the UnixAddr of the session bus according to the env var $DBUS_SESSION_BUS_ADDRESS.

Convenience function that returns a path to the system bus at /run/dbus/systemd_bus_socket