pub trait ConnectionExt: RequestConnection {
    // Provided methods
    fn screensaver_query_version(
        &self,
        client_major_version: u8,
        client_minor_version: u8
    ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>> + Send + '_>> { ... }
    fn screensaver_query_info(
        &self,
        drawable: Drawable
    ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryInfoReply>, ConnectionError>> + Send + '_>> { ... }
    fn screensaver_select_input(
        &self,
        drawable: Drawable,
        event_mask: Event
    ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>> { ... }
    fn screensaver_set_attributes<'c, 'input, 'future>(
        &'c self,
        drawable: Drawable,
        x: i16,
        y: i16,
        width: u16,
        height: u16,
        border_width: u16,
        class: WindowClass,
        depth: u8,
        visual: Visualid,
        value_list: &'input SetAttributesAux
    ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>
       where 'c: 'future,
             'input: 'future { ... }
    fn screensaver_unset_attributes(
        &self,
        drawable: Drawable
    ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>> { ... }
    fn screensaver_suspend(
        &self,
        suspend: u32
    ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>> { ... }
}
Expand description

Extension trait defining the requests of this extension.

Provided Methods§

source

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

source

fn screensaver_query_info( &self, drawable: Drawable ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryInfoReply>, ConnectionError>> + Send + '_>>

source

fn screensaver_select_input( &self, drawable: Drawable, event_mask: Event ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>

source

fn screensaver_set_attributes<'c, 'input, 'future>( &'c self, drawable: Drawable, x: i16, y: i16, width: u16, height: u16, border_width: u16, class: WindowClass, depth: u8, visual: Visualid, value_list: &'input SetAttributesAux ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>
where 'c: 'future, 'input: 'future,

source

fn screensaver_unset_attributes( &self, drawable: Drawable ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>

source

fn screensaver_suspend( &self, suspend: u32 ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>

Object Safety§

This trait is not object safe.

Implementors§