ConnectionExt

Trait ConnectionExt 

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

Extension trait defining the requests of this extension.

Provided Methods§

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.

Implementors§