ConnectionExt

Trait ConnectionExt 

Source
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§

Source

fn xinerama_query_version( &self, major: u8, minor: u8, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>> + Send + '_>>

Source

fn xinerama_get_state( &self, window: Window, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetStateReply>, ConnectionError>> + Send + '_>>

Source

fn xinerama_get_screen_count( &self, window: Window, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetScreenCountReply>, ConnectionError>> + Send + '_>>

Source

fn xinerama_get_screen_size( &self, window: Window, screen: u32, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetScreenSizeReply>, ConnectionError>> + Send + '_>>

Source

fn xinerama_is_active( &self, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, IsActiveReply>, ConnectionError>> + Send + '_>>

Source

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.

Implementors§