Trait x11rb::protocol::screensaver::ConnectionExt

source ·
pub trait ConnectionExt: RequestConnection {
    // Provided methods
    fn screensaver_query_version(
        &self,
        client_major_version: u8,
        client_minor_version: u8
    ) -> Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError> { ... }
    fn screensaver_query_info(
        &self,
        drawable: Drawable
    ) -> Result<Cookie<'_, Self, QueryInfoReply>, ConnectionError> { ... }
    fn screensaver_select_input(
        &self,
        drawable: Drawable,
        event_mask: Event
    ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... }
    fn screensaver_set_attributes<'c, 'input>(
        &'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
    ) -> Result<VoidCookie<'c, Self>, ConnectionError> { ... }
    fn screensaver_unset_attributes(
        &self,
        drawable: Drawable
    ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... }
    fn screensaver_suspend(
        &self,
        suspend: u32
    ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... }
}
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 ) -> Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>

source

fn screensaver_query_info( &self, drawable: Drawable ) -> Result<Cookie<'_, Self, QueryInfoReply>, ConnectionError>

source

fn screensaver_select_input( &self, drawable: Drawable, event_mask: Event ) -> Result<VoidCookie<'_, Self>, ConnectionError>

source

fn screensaver_set_attributes<'c, 'input>( &'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 ) -> Result<VoidCookie<'c, Self>, ConnectionError>

source

fn screensaver_unset_attributes( &self, drawable: Drawable ) -> Result<VoidCookie<'_, Self>, ConnectionError>

source

fn screensaver_suspend( &self, suspend: u32 ) -> Result<VoidCookie<'_, Self>, ConnectionError>

Object Safety§

This trait is not object safe.

Implementors§