session

Function session 

Source
pub fn session() -> Result<DBusAddrList<'static>>
Expand description

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