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 EventProperties for CacheEvents
impl EventProperties for CacheEvents
fn path(&self) -> ObjectPath<'_>
fn sender(&self) -> UniqueName<'_>
fn object_ref(&self) -> ObjectRef
source§impl EventTypeProperties for CacheEvents
impl EventTypeProperties for CacheEvents
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 BusProperties::DBUS_MEMBER
and BusProperties::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 BusProperties::DBUS_MEMBER
and BusProperties::DBUS_INTERFACE
.source§impl Hash for CacheEvents
impl Hash for CacheEvents
source§impl PartialEq for CacheEvents
impl PartialEq for CacheEvents
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 StructuralPartialEq for CacheEvents
Auto Trait Implementations§
impl Freeze for CacheEvents
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)