pub trait ConnectionExt: RequestConnection {
// Provided methods
fn xf86dri_query_version(
&self,
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>> + Send + '_>> { ... }
fn xf86dri_query_direct_rendering_capable(
&self,
screen: u32,
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryDirectRenderingCapableReply>, ConnectionError>> + Send + '_>> { ... }
fn xf86dri_open_connection(
&self,
screen: u32,
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, OpenConnectionReply>, ConnectionError>> + Send + '_>> { ... }
fn xf86dri_close_connection(
&self,
screen: u32,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>> { ... }
fn xf86dri_get_client_driver_name(
&self,
screen: u32,
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetClientDriverNameReply>, ConnectionError>> + Send + '_>> { ... }
fn xf86dri_create_context(
&self,
screen: u32,
visual: u32,
context: u32,
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, CreateContextReply>, ConnectionError>> + Send + '_>> { ... }
fn xf86dri_destroy_context(
&self,
screen: u32,
context: u32,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>> { ... }
fn xf86dri_create_drawable(
&self,
screen: u32,
drawable: u32,
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, CreateDrawableReply>, ConnectionError>> + Send + '_>> { ... }
fn xf86dri_destroy_drawable(
&self,
screen: u32,
drawable: u32,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>> { ... }
fn xf86dri_get_drawable_info(
&self,
screen: u32,
drawable: u32,
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetDrawableInfoReply>, ConnectionError>> + Send + '_>> { ... }
fn xf86dri_get_device_info(
&self,
screen: u32,
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetDeviceInfoReply>, ConnectionError>> + Send + '_>> { ... }
fn xf86dri_auth_connection(
&self,
screen: u32,
magic: u32,
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, AuthConnectionReply>, ConnectionError>> + Send + '_>> { ... }
}
Expand description
Extension trait defining the requests of this extension.
Provided Methods§
fn xf86dri_query_version( &self, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>> + Send + '_>>
fn xf86dri_query_direct_rendering_capable( &self, screen: u32, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryDirectRenderingCapableReply>, ConnectionError>> + Send + '_>>
fn xf86dri_open_connection( &self, screen: u32, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, OpenConnectionReply>, ConnectionError>> + Send + '_>>
fn xf86dri_close_connection( &self, screen: u32, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xf86dri_get_client_driver_name( &self, screen: u32, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetClientDriverNameReply>, ConnectionError>> + Send + '_>>
fn xf86dri_create_context( &self, screen: u32, visual: u32, context: u32, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, CreateContextReply>, ConnectionError>> + Send + '_>>
fn xf86dri_destroy_context( &self, screen: u32, context: u32, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xf86dri_create_drawable( &self, screen: u32, drawable: u32, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, CreateDrawableReply>, ConnectionError>> + Send + '_>>
fn xf86dri_destroy_drawable( &self, screen: u32, drawable: u32, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xf86dri_get_drawable_info( &self, screen: u32, drawable: u32, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetDrawableInfoReply>, ConnectionError>> + Send + '_>>
fn xf86dri_get_device_info( &self, screen: u32, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetDeviceInfoReply>, ConnectionError>> + Send + '_>>
fn xf86dri_auth_connection( &self, screen: u32, magic: u32, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, AuthConnectionReply>, 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.