Trait x11rb::protocol::xf86dri::ConnectionExt

source ·
pub trait ConnectionExt: RequestConnection {
    // Provided methods
    fn xf86dri_query_version(
        &self
    ) -> Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError> { ... }
    fn xf86dri_query_direct_rendering_capable(
        &self,
        screen: u32
    ) -> Result<Cookie<'_, Self, QueryDirectRenderingCapableReply>, ConnectionError> { ... }
    fn xf86dri_open_connection(
        &self,
        screen: u32
    ) -> Result<Cookie<'_, Self, OpenConnectionReply>, ConnectionError> { ... }
    fn xf86dri_close_connection(
        &self,
        screen: u32
    ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... }
    fn xf86dri_get_client_driver_name(
        &self,
        screen: u32
    ) -> Result<Cookie<'_, Self, GetClientDriverNameReply>, ConnectionError> { ... }
    fn xf86dri_create_context(
        &self,
        screen: u32,
        visual: u32,
        context: u32
    ) -> Result<Cookie<'_, Self, CreateContextReply>, ConnectionError> { ... }
    fn xf86dri_destroy_context(
        &self,
        screen: u32,
        context: u32
    ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... }
    fn xf86dri_create_drawable(
        &self,
        screen: u32,
        drawable: u32
    ) -> Result<Cookie<'_, Self, CreateDrawableReply>, ConnectionError> { ... }
    fn xf86dri_destroy_drawable(
        &self,
        screen: u32,
        drawable: u32
    ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... }
    fn xf86dri_get_drawable_info(
        &self,
        screen: u32,
        drawable: u32
    ) -> Result<Cookie<'_, Self, GetDrawableInfoReply>, ConnectionError> { ... }
    fn xf86dri_get_device_info(
        &self,
        screen: u32
    ) -> Result<Cookie<'_, Self, GetDeviceInfoReply>, ConnectionError> { ... }
    fn xf86dri_auth_connection(
        &self,
        screen: u32,
        magic: u32
    ) -> Result<Cookie<'_, Self, AuthConnectionReply>, ConnectionError> { ... }
}
Expand description

Extension trait defining the requests of this extension.

Provided Methods§

source

fn xf86dri_query_version( &self ) -> Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>

source

fn xf86dri_query_direct_rendering_capable( &self, screen: u32 ) -> Result<Cookie<'_, Self, QueryDirectRenderingCapableReply>, ConnectionError>

source

fn xf86dri_open_connection( &self, screen: u32 ) -> Result<Cookie<'_, Self, OpenConnectionReply>, ConnectionError>

source

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

source

fn xf86dri_get_client_driver_name( &self, screen: u32 ) -> Result<Cookie<'_, Self, GetClientDriverNameReply>, ConnectionError>

source

fn xf86dri_create_context( &self, screen: u32, visual: u32, context: u32 ) -> Result<Cookie<'_, Self, CreateContextReply>, ConnectionError>

source

fn xf86dri_destroy_context( &self, screen: u32, context: u32 ) -> Result<VoidCookie<'_, Self>, ConnectionError>

source

fn xf86dri_create_drawable( &self, screen: u32, drawable: u32 ) -> Result<Cookie<'_, Self, CreateDrawableReply>, ConnectionError>

source

fn xf86dri_destroy_drawable( &self, screen: u32, drawable: u32 ) -> Result<VoidCookie<'_, Self>, ConnectionError>

source

fn xf86dri_get_drawable_info( &self, screen: u32, drawable: u32 ) -> Result<Cookie<'_, Self, GetDrawableInfoReply>, ConnectionError>

source

fn xf86dri_get_device_info( &self, screen: u32 ) -> Result<Cookie<'_, Self, GetDeviceInfoReply>, ConnectionError>

source

fn xf86dri_auth_connection( &self, screen: u32, magic: u32 ) -> Result<Cookie<'_, Self, AuthConnectionReply>, ConnectionError>

Object Safety§

This trait is not object safe.

Implementors§