gio::functions

Function 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 #GDBusServer or #GDBusConnection - use g_dbus_is_supported_address() to do more checks.

§string

A string.

§Returns

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