pub trait EventProperties {
// Required methods
fn sender(&self) -> UniqueName<'_>;
fn path(&self) -> ObjectPath<'_>;
// Provided method
fn object_ref(&self) -> ObjectRef { ... }
}Expand description
EventProperties allows access to the internals of an event, specifically:
- The
DBUsname which sent the event. - The
ObjectPath, a unique id for a given application. - Collectively, this is called an
ObjectRef.
This trait is object-safe.