Enum atspi_common::events::EventListenerEvents
source · pub enum EventListenerEvents {
Registered(EventListenerRegisteredEvent),
Deregistered(EventListenerDeregisteredEvent),
}
Expand description
Covers both EventListener
events.
Variants§
Registered(EventListenerRegisteredEvent)
Deregistered(EventListenerDeregisteredEvent)
Trait Implementations§
source§impl Clone for EventListenerEvents
impl Clone for EventListenerEvents
source§fn clone(&self) -> EventListenerEvents
fn clone(&self) -> EventListenerEvents
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for EventListenerEvents
impl Debug for EventListenerEvents
source§impl<'de> Deserialize<'de> for EventListenerEvents
impl<'de> Deserialize<'de> for EventListenerEvents
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<EventListenerDeregisteredEvent> for EventListenerEvents
impl From<EventListenerDeregisteredEvent> for EventListenerEvents
source§fn from(specific_event: EventListenerDeregisteredEvent) -> EventListenerEvents
fn from(specific_event: EventListenerDeregisteredEvent) -> EventListenerEvents
Converts to this type from the input type.
source§impl From<EventListenerRegisteredEvent> for EventListenerEvents
impl From<EventListenerRegisteredEvent> for EventListenerEvents
source§fn from(specific_event: EventListenerRegisteredEvent) -> EventListenerEvents
fn from(specific_event: EventListenerRegisteredEvent) -> EventListenerEvents
Converts to this type from the input type.
source§impl HasMatchRule for EventListenerEvents
impl HasMatchRule for EventListenerEvents
source§const MATCH_RULE_STRING: &'static str = "type='signal',interface='org.a11y.atspi.Event.Registry'"
const MATCH_RULE_STRING: &'static str = "type='signal',interface='org.a11y.atspi.Event.Registry'"
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
.source§impl HasRegistryEventString for EventListenerEvents
impl HasRegistryEventString for EventListenerEvents
source§const REGISTRY_EVENT_STRING: &'static str = "Event"
const REGISTRY_EVENT_STRING: &'static str = "Event"
A registry event string for registering for event receiving via the
RegistryProxy
.
This should be deprecated in favour of composing the string from GenericEvent::DBUS_MEMBER
and GenericEvent::DBUS_INTERFACE
.source§impl Hash for EventListenerEvents
impl Hash for EventListenerEvents
source§impl PartialEq<EventListenerEvents> for EventListenerEvents
impl PartialEq<EventListenerEvents> for EventListenerEvents
source§fn eq(&self, other: &EventListenerEvents) -> bool
fn eq(&self, other: &EventListenerEvents) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for EventListenerEvents
impl Serialize for EventListenerEvents
impl Eq for EventListenerEvents
impl StructuralEq for EventListenerEvents
impl StructuralPartialEq for EventListenerEvents
Auto Trait Implementations§
impl RefUnwindSafe for EventListenerEvents
impl Send for EventListenerEvents
impl Sync for EventListenerEvents
impl Unpin for EventListenerEvents
impl UnwindSafe for EventListenerEvents
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more