pub enum DispatchRoute {
Cdp,
Accessibility,
NativeInput,
Adapter {
name: String,
op: String,
},
Focus,
Other {
detail: String,
},
}Expand description
The route the runtime actually took to dispatch an action — observed truth, not a guess from the action kind.
Variants§
Cdp
Chrome DevTools Protocol (browser DOM).
Accessibility
macOS Accessibility action.
NativeInput
Synthesized native input (CGEvent key / mouse).
Adapter
A registered adapter’s typed action.
Focus
App focus / lifecycle (activate / launch / quit / focus lock).
Other
Not yet classified.
Trait Implementations§
Source§impl Clone for DispatchRoute
impl Clone for DispatchRoute
Source§fn clone(&self) -> DispatchRoute
fn clone(&self) -> DispatchRoute
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DispatchRoute
impl Debug for DispatchRoute
Source§impl<'de> Deserialize<'de> for DispatchRoute
impl<'de> Deserialize<'de> for DispatchRoute
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
impl Eq for DispatchRoute
Source§impl PartialEq for DispatchRoute
impl PartialEq for DispatchRoute
Source§fn eq(&self, other: &DispatchRoute) -> bool
fn eq(&self, other: &DispatchRoute) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DispatchRoute
impl Serialize for DispatchRoute
impl StructuralPartialEq for DispatchRoute
Auto Trait Implementations§
impl Freeze for DispatchRoute
impl RefUnwindSafe for DispatchRoute
impl Send for DispatchRoute
impl Sync for DispatchRoute
impl Unpin for DispatchRoute
impl UnsafeUnpin for DispatchRoute
impl UnwindSafe for DispatchRoute
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