pub trait ConnectionExt: RequestConnection {
// Provided methods
fn xinerama_query_version(
&self,
major: u8,
minor: u8,
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>> + Send + '_>> { ... }
fn xinerama_get_state(
&self,
window: Window,
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetStateReply>, ConnectionError>> + Send + '_>> { ... }
fn xinerama_get_screen_count(
&self,
window: Window,
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetScreenCountReply>, ConnectionError>> + Send + '_>> { ... }
fn xinerama_get_screen_size(
&self,
window: Window,
screen: u32,
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetScreenSizeReply>, ConnectionError>> + Send + '_>> { ... }
fn xinerama_is_active(
&self,
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, IsActiveReply>, ConnectionError>> + Send + '_>> { ... }
fn xinerama_query_screens(
&self,
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryScreensReply>, ConnectionError>> + Send + '_>> { ... }
}Expand description
Extension trait defining the requests of this extension.
Provided Methods§
fn xinerama_query_version( &self, major: u8, minor: u8, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>> + Send + '_>>
fn xinerama_get_state( &self, window: Window, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetStateReply>, ConnectionError>> + Send + '_>>
fn xinerama_get_screen_count( &self, window: Window, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetScreenCountReply>, ConnectionError>> + Send + '_>>
fn xinerama_get_screen_size( &self, window: Window, screen: u32, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetScreenSizeReply>, ConnectionError>> + Send + '_>>
fn xinerama_is_active( &self, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, IsActiveReply>, ConnectionError>> + Send + '_>>
fn xinerama_query_screens( &self, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryScreensReply>, 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.