Enum atspi_proxies::events::document::DocumentEvents
source · pub enum DocumentEvents {
LoadComplete(LoadCompleteEvent),
Reload(ReloadEvent),
LoadStopped(LoadStoppedEvent),
ContentChanged(ContentChangedEvent),
AttributesChanged(AttributesChangedEvent),
PageChanged(PageChangedEvent),
}
Variants§
LoadComplete(LoadCompleteEvent)
See: LoadCompleteEvent
.
Reload(ReloadEvent)
See: ReloadEvent
.
LoadStopped(LoadStoppedEvent)
See: LoadStoppedEvent
.
ContentChanged(ContentChangedEvent)
See: ContentChangedEvent
.
AttributesChanged(AttributesChangedEvent)
See: AttributesChangedEvent
.
PageChanged(PageChangedEvent)
See: PageChangedEvent
.
Trait Implementations§
source§impl Clone for DocumentEvents
impl Clone for DocumentEvents
source§fn clone(&self) -> DocumentEvents
fn clone(&self) -> DocumentEvents
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 DocumentEvents
impl Debug for DocumentEvents
source§impl<'de> Deserialize<'de> for DocumentEvents
impl<'de> Deserialize<'de> for DocumentEvents
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<DocumentEvents, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<DocumentEvents, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl EventProperties for DocumentEvents
impl EventProperties for DocumentEvents
fn path(&self) -> ObjectPath<'_>
fn sender(&self) -> UniqueName<'_>
fn object_ref(&self) -> ObjectRef
source§impl EventTypeProperties for DocumentEvents
impl EventTypeProperties for DocumentEvents
source§impl From<AttributesChangedEvent> for DocumentEvents
impl From<AttributesChangedEvent> for DocumentEvents
source§fn from(specific_event: AttributesChangedEvent) -> DocumentEvents
fn from(specific_event: AttributesChangedEvent) -> DocumentEvents
Converts to this type from the input type.
source§impl From<ContentChangedEvent> for DocumentEvents
impl From<ContentChangedEvent> for DocumentEvents
source§fn from(specific_event: ContentChangedEvent) -> DocumentEvents
fn from(specific_event: ContentChangedEvent) -> DocumentEvents
Converts to this type from the input type.
source§impl From<DocumentEvents> for Event
impl From<DocumentEvents> for Event
source§fn from(event_variant: DocumentEvents) -> Event
fn from(event_variant: DocumentEvents) -> Event
Converts to this type from the input type.
source§impl From<LoadCompleteEvent> for DocumentEvents
impl From<LoadCompleteEvent> for DocumentEvents
source§fn from(specific_event: LoadCompleteEvent) -> DocumentEvents
fn from(specific_event: LoadCompleteEvent) -> DocumentEvents
Converts to this type from the input type.
source§impl From<LoadStoppedEvent> for DocumentEvents
impl From<LoadStoppedEvent> for DocumentEvents
source§fn from(specific_event: LoadStoppedEvent) -> DocumentEvents
fn from(specific_event: LoadStoppedEvent) -> DocumentEvents
Converts to this type from the input type.
source§impl From<PageChangedEvent> for DocumentEvents
impl From<PageChangedEvent> for DocumentEvents
source§fn from(specific_event: PageChangedEvent) -> DocumentEvents
fn from(specific_event: PageChangedEvent) -> DocumentEvents
Converts to this type from the input type.
source§impl From<ReloadEvent> for DocumentEvents
impl From<ReloadEvent> for DocumentEvents
source§fn from(specific_event: ReloadEvent) -> DocumentEvents
fn from(specific_event: ReloadEvent) -> DocumentEvents
Converts to this type from the input type.
source§impl HasMatchRule for DocumentEvents
impl HasMatchRule for DocumentEvents
source§const MATCH_RULE_STRING: &'static str = "type='signal',interface='org.a11y.atspi.Event.Document'"
const MATCH_RULE_STRING: &'static str = "type='signal',interface='org.a11y.atspi.Event.Document'"
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 DocumentEvents
impl HasRegistryEventString for DocumentEvents
source§const REGISTRY_EVENT_STRING: &'static str = "Document:"
const REGISTRY_EVENT_STRING: &'static str = "Document:"
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 DocumentEvents
impl Hash for DocumentEvents
source§impl PartialEq for DocumentEvents
impl PartialEq for DocumentEvents
source§fn eq(&self, other: &DocumentEvents) -> bool
fn eq(&self, other: &DocumentEvents) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DocumentEvents
impl Serialize for DocumentEvents
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
source§impl TryFrom<&Message> for DocumentEvents
impl TryFrom<&Message> for DocumentEvents
§type Error = AtspiError
type Error = AtspiError
The type returned in the event of a conversion error.
source§fn try_from(
ev: &Message
) -> Result<DocumentEvents, <DocumentEvents as TryFrom<&Message>>::Error>
fn try_from( ev: &Message ) -> Result<DocumentEvents, <DocumentEvents as TryFrom<&Message>>::Error>
Performs the conversion.
source§impl TryFrom<Event> for DocumentEvents
impl TryFrom<Event> for DocumentEvents
§type Error = AtspiError
type Error = AtspiError
The type returned in the event of a conversion error.
source§fn try_from(
generic_event: Event
) -> Result<DocumentEvents, <DocumentEvents as TryFrom<Event>>::Error>
fn try_from( generic_event: Event ) -> Result<DocumentEvents, <DocumentEvents as TryFrom<Event>>::Error>
Performs the conversion.
impl Eq for DocumentEvents
impl StructuralPartialEq for DocumentEvents
Auto Trait Implementations§
impl Freeze for DocumentEvents
impl RefUnwindSafe for DocumentEvents
impl Send for DocumentEvents
impl Sync for DocumentEvents
impl Unpin for DocumentEvents
impl UnwindSafe for DocumentEvents
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