pub struct OsascriptInjector;Expand description
macOS injector via osascript (System Events).
Trait Implementations§
Source§impl Debug for OsascriptInjector
impl Debug for OsascriptInjector
Source§impl Default for OsascriptInjector
impl Default for OsascriptInjector
Source§fn default() -> OsascriptInjector
fn default() -> OsascriptInjector
Returns the “default value” for a type. Read more
Source§impl Injector for OsascriptInjector
impl Injector for OsascriptInjector
Source§fn inject(&self, cmd: &InjectionCommand) -> Result<(), AppError>
fn inject(&self, cmd: &InjectionCommand) -> Result<(), AppError>
Replay one command. A per-command failure is logged by the caller and
does not tear down the daemon.
Source§fn semantic_event(&self, _event: &SemanticEvent) -> Result<(), AppError>
fn semantic_event(&self, _event: &SemanticEvent) -> Result<(), AppError>
Additive application-event hook. Never fall back to OS injection.
fn supports_events(&self) -> bool
Auto Trait Implementations§
impl Freeze for OsascriptInjector
impl RefUnwindSafe for OsascriptInjector
impl Send for OsascriptInjector
impl Sync for OsascriptInjector
impl Unpin for OsascriptInjector
impl UnsafeUnpin for OsascriptInjector
impl UnwindSafe for OsascriptInjector
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