Module conn

Source
Expand description

Low level non-blocking implementation of the DBus connection and some helper functions.

These are used to create RpcConn, the primary async connection of this crate. Most end-user of this library will never need to touch this module.

Structs§

Conn
A synchronous non-blocking connection to DBus session.

Enums§

DBusAddr
A address for connecting to a DBus dubs. These can be file systems paths to a Unix socket, a TCP address, or an abstract Unix socket.

Constants§

DBUS_SESS_ENV
The environmental variable that contains address of the session DBus.
DBUS_SYS_PATH
The filesystem path for all system DBuses.

Functions§

get_session_bus_addr
Get and parse address of the session DBus from the environment.
get_system_bus_addr
Get the path of the system bus if it exists.