Trait x11rb::protocol::xselinux::ConnectionExt

source ·
pub trait ConnectionExt: RequestConnection {
Show 23 methods // Provided methods fn xselinux_query_version( &self, client_major: u8, client_minor: u8 ) -> Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError> { ... } fn xselinux_set_device_create_context<'c, 'input>( &'c self, context: &'input [u8] ) -> Result<VoidCookie<'c, Self>, ConnectionError> { ... } fn xselinux_get_device_create_context( &self ) -> Result<Cookie<'_, Self, GetDeviceCreateContextReply>, ConnectionError> { ... } fn xselinux_set_device_context<'c, 'input>( &'c self, device: u32, context: &'input [u8] ) -> Result<VoidCookie<'c, Self>, ConnectionError> { ... } fn xselinux_get_device_context( &self, device: u32 ) -> Result<Cookie<'_, Self, GetDeviceContextReply>, ConnectionError> { ... } fn xselinux_set_window_create_context<'c, 'input>( &'c self, context: &'input [u8] ) -> Result<VoidCookie<'c, Self>, ConnectionError> { ... } fn xselinux_get_window_create_context( &self ) -> Result<Cookie<'_, Self, GetWindowCreateContextReply>, ConnectionError> { ... } fn xselinux_get_window_context( &self, window: Window ) -> Result<Cookie<'_, Self, GetWindowContextReply>, ConnectionError> { ... } fn xselinux_set_property_create_context<'c, 'input>( &'c self, context: &'input [u8] ) -> Result<VoidCookie<'c, Self>, ConnectionError> { ... } fn xselinux_get_property_create_context( &self ) -> Result<Cookie<'_, Self, GetPropertyCreateContextReply>, ConnectionError> { ... } fn xselinux_set_property_use_context<'c, 'input>( &'c self, context: &'input [u8] ) -> Result<VoidCookie<'c, Self>, ConnectionError> { ... } fn xselinux_get_property_use_context( &self ) -> Result<Cookie<'_, Self, GetPropertyUseContextReply>, ConnectionError> { ... } fn xselinux_get_property_context( &self, window: Window, property: Atom ) -> Result<Cookie<'_, Self, GetPropertyContextReply>, ConnectionError> { ... } fn xselinux_get_property_data_context( &self, window: Window, property: Atom ) -> Result<Cookie<'_, Self, GetPropertyDataContextReply>, ConnectionError> { ... } fn xselinux_list_properties( &self, window: Window ) -> Result<Cookie<'_, Self, ListPropertiesReply>, ConnectionError> { ... } fn xselinux_set_selection_create_context<'c, 'input>( &'c self, context: &'input [u8] ) -> Result<VoidCookie<'c, Self>, ConnectionError> { ... } fn xselinux_get_selection_create_context( &self ) -> Result<Cookie<'_, Self, GetSelectionCreateContextReply>, ConnectionError> { ... } fn xselinux_set_selection_use_context<'c, 'input>( &'c self, context: &'input [u8] ) -> Result<VoidCookie<'c, Self>, ConnectionError> { ... } fn xselinux_get_selection_use_context( &self ) -> Result<Cookie<'_, Self, GetSelectionUseContextReply>, ConnectionError> { ... } fn xselinux_get_selection_context( &self, selection: Atom ) -> Result<Cookie<'_, Self, GetSelectionContextReply>, ConnectionError> { ... } fn xselinux_get_selection_data_context( &self, selection: Atom ) -> Result<Cookie<'_, Self, GetSelectionDataContextReply>, ConnectionError> { ... } fn xselinux_list_selections( &self ) -> Result<Cookie<'_, Self, ListSelectionsReply>, ConnectionError> { ... } fn xselinux_get_client_context( &self, resource: u32 ) -> Result<Cookie<'_, Self, GetClientContextReply>, ConnectionError> { ... }
}
Expand description

Extension trait defining the requests of this extension.

Provided Methods§

source

fn xselinux_query_version( &self, client_major: u8, client_minor: u8 ) -> Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>

source

fn xselinux_set_device_create_context<'c, 'input>( &'c self, context: &'input [u8] ) -> Result<VoidCookie<'c, Self>, ConnectionError>

source

fn xselinux_get_device_create_context( &self ) -> Result<Cookie<'_, Self, GetDeviceCreateContextReply>, ConnectionError>

source

fn xselinux_set_device_context<'c, 'input>( &'c self, device: u32, context: &'input [u8] ) -> Result<VoidCookie<'c, Self>, ConnectionError>

source

fn xselinux_get_device_context( &self, device: u32 ) -> Result<Cookie<'_, Self, GetDeviceContextReply>, ConnectionError>

source

fn xselinux_set_window_create_context<'c, 'input>( &'c self, context: &'input [u8] ) -> Result<VoidCookie<'c, Self>, ConnectionError>

source

fn xselinux_get_window_create_context( &self ) -> Result<Cookie<'_, Self, GetWindowCreateContextReply>, ConnectionError>

source

fn xselinux_get_window_context( &self, window: Window ) -> Result<Cookie<'_, Self, GetWindowContextReply>, ConnectionError>

source

fn xselinux_set_property_create_context<'c, 'input>( &'c self, context: &'input [u8] ) -> Result<VoidCookie<'c, Self>, ConnectionError>

source

fn xselinux_get_property_create_context( &self ) -> Result<Cookie<'_, Self, GetPropertyCreateContextReply>, ConnectionError>

source

fn xselinux_set_property_use_context<'c, 'input>( &'c self, context: &'input [u8] ) -> Result<VoidCookie<'c, Self>, ConnectionError>

source

fn xselinux_get_property_use_context( &self ) -> Result<Cookie<'_, Self, GetPropertyUseContextReply>, ConnectionError>

source

fn xselinux_get_property_context( &self, window: Window, property: Atom ) -> Result<Cookie<'_, Self, GetPropertyContextReply>, ConnectionError>

source

fn xselinux_get_property_data_context( &self, window: Window, property: Atom ) -> Result<Cookie<'_, Self, GetPropertyDataContextReply>, ConnectionError>

source

fn xselinux_list_properties( &self, window: Window ) -> Result<Cookie<'_, Self, ListPropertiesReply>, ConnectionError>

source

fn xselinux_set_selection_create_context<'c, 'input>( &'c self, context: &'input [u8] ) -> Result<VoidCookie<'c, Self>, ConnectionError>

source

fn xselinux_get_selection_create_context( &self ) -> Result<Cookie<'_, Self, GetSelectionCreateContextReply>, ConnectionError>

source

fn xselinux_set_selection_use_context<'c, 'input>( &'c self, context: &'input [u8] ) -> Result<VoidCookie<'c, Self>, ConnectionError>

source

fn xselinux_get_selection_use_context( &self ) -> Result<Cookie<'_, Self, GetSelectionUseContextReply>, ConnectionError>

source

fn xselinux_get_selection_context( &self, selection: Atom ) -> Result<Cookie<'_, Self, GetSelectionContextReply>, ConnectionError>

source

fn xselinux_get_selection_data_context( &self, selection: Atom ) -> Result<Cookie<'_, Self, GetSelectionDataContextReply>, ConnectionError>

source

fn xselinux_list_selections( &self ) -> Result<Cookie<'_, Self, ListSelectionsReply>, ConnectionError>

source

fn xselinux_get_client_context( &self, resource: u32 ) -> Result<Cookie<'_, Self, GetClientContextReply>, ConnectionError>

Object Safety§

This trait is not object safe.

Implementors§