gio::functions

Function dbus_is_supported_address

Source
pub fn dbus_is_supported_address(string: &str) -> Result<(), Error>
Expand description

Like g_dbus_is_address() but also checks if the library supports the transports in @string and that key/value pairs for each transport are valid. See the specification of the D-Bus address format.

§string

A string.

§Returns

true if @string is a valid D-Bus address that is supported by this library, false if @error is set.