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