pub struct DeviceEventControllerProxyBlocking<'p>(/* private fields */);
Implementations§
source§impl<'p> DeviceEventControllerProxyBlocking<'p>
impl<'p> DeviceEventControllerProxyBlocking<'p>
sourcepub fn new(conn: &Connection) -> Result<DeviceEventControllerProxyBlocking<'p>>
pub fn new(conn: &Connection) -> Result<DeviceEventControllerProxyBlocking<'p>>
Creates a new proxy with the default service and path.
sourcepub fn builder(conn: &Connection) -> Builder<'p, Self>
pub fn builder(conn: &Connection) -> Builder<'p, Self>
Returns a customizable builder for this proxy.
sourcepub fn into_inner(self) -> Proxy<'p>
pub fn into_inner(self) -> Proxy<'p>
Consumes self
, returning the underlying zbus::Proxy
.
sourcepub fn inner_mut(&mut self) -> &mut Proxy<'p>
pub fn inner_mut(&mut self) -> &mut Proxy<'p>
The mutable reference to the underlying zbus::Proxy
.
sourcepub fn deregister_device_event_listener(
&self,
listener: &ObjectPath<'_>,
types: EventType
) -> Result<()>
pub fn deregister_device_event_listener( &self, listener: &ObjectPath<'_>, types: EventType ) -> Result<()>
DeregisterDeviceEventListener method
sourcepub fn deregister_keystroke_listener(
&self,
listener: &ObjectPath<'_>,
keys: &[KeyDefinition<'_>],
mask: u32,
type_: EventType
) -> Result<()>
pub fn deregister_keystroke_listener( &self, listener: &ObjectPath<'_>, keys: &[KeyDefinition<'_>], mask: u32, type_: EventType ) -> Result<()>
DeregisterKeystrokeListener method
sourcepub fn generate_keyboard_event(
&self,
keycode: i32,
keystring: &str,
type_: KeySynthType
) -> Result<()>
pub fn generate_keyboard_event( &self, keycode: i32, keystring: &str, type_: KeySynthType ) -> Result<()>
GenerateKeyboardEvent method
sourcepub fn generate_mouse_event(
&self,
x: i32,
y: i32,
event_name: &str
) -> Result<()>
pub fn generate_mouse_event( &self, x: i32, y: i32, event_name: &str ) -> Result<()>
GenerateMouseEvent method
sourcepub fn notify_listeners_async(&self, event: &DeviceEvent<'_>) -> Result<()>
pub fn notify_listeners_async(&self, event: &DeviceEvent<'_>) -> Result<()>
NotifyListenersAsync method
sourcepub fn notify_listeners_sync(&self, event: &DeviceEvent<'_>) -> Result<bool>
pub fn notify_listeners_sync(&self, event: &DeviceEvent<'_>) -> Result<bool>
NotifyListenersSync method
sourcepub fn register_device_event_listener(
&self,
listener: &ObjectPath<'_>,
types: EventType
) -> Result<bool>
pub fn register_device_event_listener( &self, listener: &ObjectPath<'_>, types: EventType ) -> Result<bool>
RegisterDeviceEventListener method
sourcepub fn register_keystroke_listener(
&self,
listener: &ObjectPath<'_>,
keys: &[KeyDefinition<'_>],
mask: u32,
type_: &[EventType],
mode: &EventListenerMode
) -> Result<bool>
pub fn register_keystroke_listener( &self, listener: &ObjectPath<'_>, keys: &[KeyDefinition<'_>], mask: u32, type_: &[EventType], mode: &EventListenerMode ) -> Result<bool>
RegisterKeystrokeListener method
Trait Implementations§
source§impl<'p> AsMut<Proxy<'p>> for DeviceEventControllerProxyBlocking<'p>
impl<'p> AsMut<Proxy<'p>> for DeviceEventControllerProxyBlocking<'p>
source§impl<'p> AsRef<Proxy<'p>> for DeviceEventControllerProxyBlocking<'p>
impl<'p> AsRef<Proxy<'p>> for DeviceEventControllerProxyBlocking<'p>
source§impl<'p> Clone for DeviceEventControllerProxyBlocking<'p>
impl<'p> Clone for DeviceEventControllerProxyBlocking<'p>
source§fn clone(&self) -> DeviceEventControllerProxyBlocking<'p>
fn clone(&self) -> DeviceEventControllerProxyBlocking<'p>
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<'p> Debug for DeviceEventControllerProxyBlocking<'p>
impl<'p> Debug for DeviceEventControllerProxyBlocking<'p>
source§impl<'p> From<Proxy<'p>> for DeviceEventControllerProxyBlocking<'p>
impl<'p> From<Proxy<'p>> for DeviceEventControllerProxyBlocking<'p>
source§impl<'a> ProxyDefault for DeviceEventControllerProxyBlocking<'a>
impl<'a> ProxyDefault for DeviceEventControllerProxyBlocking<'a>
source§impl<'p> ProxyImpl<'p> for DeviceEventControllerProxyBlocking<'p>
impl<'p> ProxyImpl<'p> for DeviceEventControllerProxyBlocking<'p>
source§impl<'p> Serialize for DeviceEventControllerProxyBlocking<'p>
impl<'p> Serialize for DeviceEventControllerProxyBlocking<'p>
Auto Trait Implementations§
impl<'p> Freeze for DeviceEventControllerProxyBlocking<'p>
impl<'p> !RefUnwindSafe for DeviceEventControllerProxyBlocking<'p>
impl<'p> Send for DeviceEventControllerProxyBlocking<'p>
impl<'p> Sync for DeviceEventControllerProxyBlocking<'p>
impl<'p> Unpin for DeviceEventControllerProxyBlocking<'p>
impl<'p> !UnwindSafe for DeviceEventControllerProxyBlocking<'p>
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
source§impl<T> DynamicType for T
impl<T> DynamicType for T
source§fn dynamic_signature(&self) -> Signature<'_>
fn dynamic_signature(&self) -> Signature<'_>
Get the signature for the implementing type. Read more