pub trait ConnectionExt: RequestConnection {
    // Provided methods
    fn res_query_version(
        &self,
        client_major: u8,
        client_minor: u8
    ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>> + Send + '_>> { ... }
    fn res_query_clients(
        &self
    ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryClientsReply>, ConnectionError>> + Send + '_>> { ... }
    fn res_query_client_resources(
        &self,
        xid: u32
    ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryClientResourcesReply>, ConnectionError>> + Send + '_>> { ... }
    fn res_query_client_pixmap_bytes(
        &self,
        xid: u32
    ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryClientPixmapBytesReply>, ConnectionError>> + Send + '_>> { ... }
    fn res_query_client_ids<'c, 'input, 'future>(
        &'c self,
        specs: &'input [ClientIdSpec]
    ) -> Pin<Box<dyn Future<Output = Result<Cookie<'c, Self, QueryClientIdsReply>, ConnectionError>> + Send + 'future>>
       where 'c: 'future,
             'input: 'future { ... }
    fn res_query_resource_bytes<'c, 'input, 'future>(
        &'c self,
        client: u32,
        specs: &'input [ResourceIdSpec]
    ) -> Pin<Box<dyn Future<Output = Result<Cookie<'c, Self, QueryResourceBytesReply>, ConnectionError>> + Send + 'future>>
       where 'c: 'future,
             'input: 'future { ... }
}
Expand description

Extension trait defining the requests of this extension.

Provided Methods§

source

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

source

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

source

fn res_query_client_resources( &self, xid: u32 ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryClientResourcesReply>, ConnectionError>> + Send + '_>>

source

fn res_query_client_pixmap_bytes( &self, xid: u32 ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryClientPixmapBytesReply>, ConnectionError>> + Send + '_>>

source

fn res_query_client_ids<'c, 'input, 'future>( &'c self, specs: &'input [ClientIdSpec] ) -> Pin<Box<dyn Future<Output = Result<Cookie<'c, Self, QueryClientIdsReply>, ConnectionError>> + Send + 'future>>
where 'c: 'future, 'input: 'future,

source

fn res_query_resource_bytes<'c, 'input, 'future>( &'c self, client: u32, specs: &'input [ResourceIdSpec] ) -> Pin<Box<dyn Future<Output = Result<Cookie<'c, Self, QueryResourceBytesReply>, ConnectionError>> + Send + 'future>>
where 'c: 'future, 'input: 'future,

Object Safety§

This trait is not object safe.

Implementors§