Function gio::dbus_is_error_name

source ·
pub fn dbus_is_error_name(string: &str) -> bool
Available on crate feature v2_70 only.
Expand description

Check whether string is a valid D-Bus error name.

This function returns the same result as dbus_is_interface_name(), because D-Bus error names are defined to have exactly the same syntax as interface names.

string

The string to check.

Returns

true if valid, false otherwise.