pub trait ConnectionExt: RequestConnection {
// Provided methods
fn xtest_get_version(
&self,
major_version: u8,
minor_version: u16,
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetVersionReply>, ConnectionError>> + Send + '_>> { ... }
fn xtest_compare_cursor(
&self,
window: Window,
cursor: Cursor,
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, CompareCursorReply>, ConnectionError>> + Send + '_>> { ... }
fn xtest_fake_input(
&self,
type_: u8,
detail: u8,
time: u32,
root: Window,
root_x: i16,
root_y: i16,
deviceid: u8,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>> { ... }
fn xtest_grab_control(
&self,
impervious: bool,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>> { ... }
}
Expand description
Extension trait defining the requests of this extension.
Provided Methods§
fn xtest_get_version( &self, major_version: u8, minor_version: u16, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetVersionReply>, ConnectionError>> + Send + '_>>
fn xtest_compare_cursor( &self, window: Window, cursor: Cursor, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, CompareCursorReply>, ConnectionError>> + Send + '_>>
fn xtest_fake_input( &self, type_: u8, detail: u8, time: u32, root: Window, root_x: i16, root_y: i16, deviceid: u8, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xtest_grab_control( &self, impervious: bool, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.