pub trait ConnectionExt: RequestConnection {
    // Provided methods
    fn present_query_version(
        &self,
        major_version: u32,
        minor_version: u32
    ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>> + Send + '_>> { ... }
    fn present_pixmap<'c, 'input, 'future>(
        &'c self,
        window: Window,
        pixmap: Pixmap,
        serial: u32,
        valid: Region,
        update: Region,
        x_off: i16,
        y_off: i16,
        target_crtc: Crtc,
        wait_fence: Fence,
        idle_fence: Fence,
        options: u32,
        target_msc: u64,
        divisor: u64,
        remainder: u64,
        notifies: &'input [Notify]
    ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>
       where 'c: 'future,
             'input: 'future { ... }
    fn present_notify_msc(
        &self,
        window: Window,
        serial: u32,
        target_msc: u64,
        divisor: u64,
        remainder: u64
    ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>> { ... }
    fn present_select_input(
        &self,
        eid: Event,
        window: Window,
        event_mask: EventMask
    ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>> { ... }
    fn present_query_capabilities(
        &self,
        target: u32
    ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryCapabilitiesReply>, ConnectionError>> + Send + '_>> { ... }
}
Expand description

Extension trait defining the requests of this extension.

Provided Methods§

source

fn present_query_version( &self, major_version: u32, minor_version: u32 ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>> + Send + '_>>

source

fn present_pixmap<'c, 'input, 'future>( &'c self, window: Window, pixmap: Pixmap, serial: u32, valid: Region, update: Region, x_off: i16, y_off: i16, target_crtc: Crtc, wait_fence: Fence, idle_fence: Fence, options: u32, target_msc: u64, divisor: u64, remainder: u64, notifies: &'input [Notify] ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>
where 'c: 'future, 'input: 'future,

source

fn present_notify_msc( &self, window: Window, serial: u32, target_msc: u64, divisor: u64, remainder: u64 ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>

source

fn present_select_input( &self, eid: Event, window: Window, event_mask: EventMask ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>

source

fn present_query_capabilities( &self, target: u32 ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryCapabilitiesReply>, ConnectionError>> + Send + '_>>

Object Safety§

This trait is not object safe.

Implementors§