pub trait ConnectionExt: RequestConnection {
    // Provided methods
    fn xvmc_query_version(
        &self
    ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>> + Send + '_>> { ... }
    fn xvmc_list_surface_types(
        &self,
        port_id: Port
    ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, ListSurfaceTypesReply>, ConnectionError>> + Send + '_>> { ... }
    fn xvmc_create_context(
        &self,
        context_id: Context,
        port_id: Port,
        surface_id: Surface,
        width: u16,
        height: u16,
        flags: u32
    ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, CreateContextReply>, ConnectionError>> + Send + '_>> { ... }
    fn xvmc_destroy_context(
        &self,
        context_id: Context
    ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>> { ... }
    fn xvmc_create_surface(
        &self,
        surface_id: Surface,
        context_id: Context
    ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, CreateSurfaceReply>, ConnectionError>> + Send + '_>> { ... }
    fn xvmc_destroy_surface(
        &self,
        surface_id: Surface
    ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>> { ... }
    fn xvmc_create_subpicture(
        &self,
        subpicture_id: Subpicture,
        context: Context,
        xvimage_id: u32,
        width: u16,
        height: u16
    ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, CreateSubpictureReply>, ConnectionError>> + Send + '_>> { ... }
    fn xvmc_destroy_subpicture(
        &self,
        subpicture_id: Subpicture
    ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>> { ... }
    fn xvmc_list_subpicture_types(
        &self,
        port_id: Port,
        surface_id: Surface
    ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, ListSubpictureTypesReply>, ConnectionError>> + Send + '_>> { ... }
}
Expand description

Extension trait defining the requests of this extension.

Provided Methods§

source

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

source

fn xvmc_list_surface_types( &self, port_id: Port ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, ListSurfaceTypesReply>, ConnectionError>> + Send + '_>>

source

fn xvmc_create_context( &self, context_id: Context, port_id: Port, surface_id: Surface, width: u16, height: u16, flags: u32 ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, CreateContextReply>, ConnectionError>> + Send + '_>>

source

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

source

fn xvmc_create_surface( &self, surface_id: Surface, context_id: Context ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, CreateSurfaceReply>, ConnectionError>> + Send + '_>>

source

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

source

fn xvmc_create_subpicture( &self, subpicture_id: Subpicture, context: Context, xvimage_id: u32, width: u16, height: u16 ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, CreateSubpictureReply>, ConnectionError>> + Send + '_>>

source

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

source

fn xvmc_list_subpicture_types( &self, port_id: Port, surface_id: Surface ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, ListSubpictureTypesReply>, ConnectionError>> + Send + '_>>

Object Safety§

This trait is not object safe.

Implementors§