[][src]Module rustbus::client_conn

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.

Structs

Conn

A lowlevel abstraction over the raw unix socket

RpcConn

Convenience wrapper around the lowlevel connection

Enums

Error

Errors that can occur when using the Conn/RpcConn

Timeout

Functions

get_session_bus_path

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

get_system_bus_path

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

Type Definitions

MessageFilter

Filter out messages you dont want in your RpcConn. If this filters out a call, the RpcConn will send a UnknownMethod error to the caller. Other messages are just dropped if the filter returns false.