Enum atspi_proxies::events::CacheEvents
source · pub enum CacheEvents {
Add(AddAccessibleEvent),
LegacyAdd(LegacyAddAccessibleEvent),
Remove(RemoveAccessibleEvent),
}
Expand description
All events related to the org.a11y.atspi.Cache
interface.
Note that these are not telling the client that an item has been added to a cache.
It is telling the client “here is a bunch of information to store it in your cache”.
Variants§
Add(AddAccessibleEvent)
See: AddAccessibleEvent
.
LegacyAdd(LegacyAddAccessibleEvent)
See: LegacyAddAccessibleEvent
.
Remove(RemoveAccessibleEvent)
See: RemoveAccessibleEvent
.
Trait Implementations§
source§impl Clone for CacheEvents
impl Clone for CacheEvents
source§fn clone(&self) -> CacheEvents
fn clone(&self) -> CacheEvents
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 CacheEvents
impl Debug for CacheEvents
source§impl<'de> Deserialize<'de> for CacheEvents
impl<'de> Deserialize<'de> for CacheEvents
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<CacheEvents, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<CacheEvents, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<AddAccessibleEvent> for CacheEvents
impl From<AddAccessibleEvent> for CacheEvents
source§fn from(specific_event: AddAccessibleEvent) -> CacheEvents
fn from(specific_event: AddAccessibleEvent) -> CacheEvents
Converts to this type from the input type.
source§impl From<LegacyAddAccessibleEvent> for CacheEvents
impl From<LegacyAddAccessibleEvent> for CacheEvents
source§fn from(specific_event: LegacyAddAccessibleEvent) -> CacheEvents
fn from(specific_event: LegacyAddAccessibleEvent) -> CacheEvents
Converts to this type from the input type.
source§impl From<RemoveAccessibleEvent> for CacheEvents
impl From<RemoveAccessibleEvent> for CacheEvents
source§fn from(specific_event: RemoveAccessibleEvent) -> CacheEvents
fn from(specific_event: RemoveAccessibleEvent) -> CacheEvents
Converts to this type from the input type.
source§impl HasMatchRule for CacheEvents
impl HasMatchRule for CacheEvents
source§const MATCH_RULE_STRING: &'static str = "type='signal',interface='org.a11y.atspi.Event.Cache'"
const MATCH_RULE_STRING: &'static str = "type='signal',interface='org.a11y.atspi.Event.Cache'"
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 CacheEvents
impl HasRegistryEventString for CacheEvents
source§const REGISTRY_EVENT_STRING: &'static str = "Cache"
const REGISTRY_EVENT_STRING: &'static str = "Cache"
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 CacheEvents
impl Hash for CacheEvents
source§impl PartialEq<CacheEvents> for CacheEvents
impl PartialEq<CacheEvents> for CacheEvents
source§fn eq(&self, other: &CacheEvents) -> bool
fn eq(&self, other: &CacheEvents) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CacheEvents
impl Serialize for CacheEvents
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for CacheEvents
impl StructuralEq for CacheEvents
impl StructuralPartialEq for CacheEvents
Auto Trait Implementations§
impl RefUnwindSafe for CacheEvents
impl Send for CacheEvents
impl Sync for CacheEvents
impl Unpin for CacheEvents
impl UnwindSafe for CacheEvents
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