pub trait HasMatchRule {
const MATCH_RULE_STRING: &'static str;
}
Expand description
A specific trait only to define match rules.
Required Associated Constants§
Sourceconst MATCH_RULE_STRING: &'static str
const MATCH_RULE_STRING: &'static str
A static match rule string for DBus
.
This should usually be a string that looks like this: "type='signal',interface='org.a11y.atspi.Event.Object',member='PropertyChange'"
;
This should be deprecated in favour of composing the string from GenericEvent::DBUS_MEMBER
and GenericEvent::DBUS_INTERFACE
.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.