Crate dbus_addr

source ·
Expand description

D-Bus address handling.

Server addresses consist of a transport name followed by a colon, and then an optional, comma-separated list of keys and values in the form key=value.

See also:

Modules§

Structs§

Enums§

  • Error returned when an address is invalid.

Traits§

  • A trait for objects which can be converted or resolved to one or more DBusAddr values.

Functions§

  • Percent-decode the string.
  • Percent-encode the value.
  • Get the address for session socket respecting the DBUS_SESSION_BUS_ADDRESS environment variable. If we don’t recognize the value (or it’s not set) we fall back to $XDG_RUNTIME_DIR/bus
  • Get the address for system bus respecting the DBUS_SYSTEM_BUS_ADDRESS environment variable. If we don’t recognize the value (or it’s not set) we fall back to /var/run/dbus/system_bus_socket

Type Aliases§