Function gio::dbus_is_address

source ·
pub fn dbus_is_address(string: &str) -> bool
Expand description

Checks if string is a D-Bus address.

This doesn’t check if string is actually supported by DBusServer or DBusConnection - use dbus_is_supported_address() to do more checks.

string

A string.

Returns

true if string is a valid D-Bus address, false otherwise.