pub struct XdotoolInjector;Expand description
Linux/X11 injector: replay commands via xdotool.
Trait Implementations§
Source§impl Debug for XdotoolInjector
impl Debug for XdotoolInjector
Source§impl Default for XdotoolInjector
impl Default for XdotoolInjector
Source§fn default() -> XdotoolInjector
fn default() -> XdotoolInjector
Returns the “default value” for a type. Read more
Source§impl Injector for XdotoolInjector
impl Injector for XdotoolInjector
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 XdotoolInjector
impl RefUnwindSafe for XdotoolInjector
impl Send for XdotoolInjector
impl Sync for XdotoolInjector
impl Unpin for XdotoolInjector
impl UnsafeUnpin for XdotoolInjector
impl UnwindSafe for XdotoolInjector
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