pub trait ConnectionExt: RequestConnection {
Show 23 methods
// Provided methods
fn xselinux_query_version(
&self,
client_major: u8,
client_minor: u8,
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>> + Send + '_>> { ... }
fn xselinux_set_device_create_context<'c, 'input, 'future>(
&'c self,
context: &'input [u8],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>
where 'c: 'future,
'input: 'future { ... }
fn xselinux_get_device_create_context(
&self,
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetDeviceCreateContextReply>, ConnectionError>> + Send + '_>> { ... }
fn xselinux_set_device_context<'c, 'input, 'future>(
&'c self,
device: u32,
context: &'input [u8],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>
where 'c: 'future,
'input: 'future { ... }
fn xselinux_get_device_context(
&self,
device: u32,
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetDeviceContextReply>, ConnectionError>> + Send + '_>> { ... }
fn xselinux_set_window_create_context<'c, 'input, 'future>(
&'c self,
context: &'input [u8],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>
where 'c: 'future,
'input: 'future { ... }
fn xselinux_get_window_create_context(
&self,
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetWindowCreateContextReply>, ConnectionError>> + Send + '_>> { ... }
fn xselinux_get_window_context(
&self,
window: Window,
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetWindowContextReply>, ConnectionError>> + Send + '_>> { ... }
fn xselinux_set_property_create_context<'c, 'input, 'future>(
&'c self,
context: &'input [u8],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>
where 'c: 'future,
'input: 'future { ... }
fn xselinux_get_property_create_context(
&self,
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetPropertyCreateContextReply>, ConnectionError>> + Send + '_>> { ... }
fn xselinux_set_property_use_context<'c, 'input, 'future>(
&'c self,
context: &'input [u8],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>
where 'c: 'future,
'input: 'future { ... }
fn xselinux_get_property_use_context(
&self,
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetPropertyUseContextReply>, ConnectionError>> + Send + '_>> { ... }
fn xselinux_get_property_context(
&self,
window: Window,
property: Atom,
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetPropertyContextReply>, ConnectionError>> + Send + '_>> { ... }
fn xselinux_get_property_data_context(
&self,
window: Window,
property: Atom,
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetPropertyDataContextReply>, ConnectionError>> + Send + '_>> { ... }
fn xselinux_list_properties(
&self,
window: Window,
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, ListPropertiesReply>, ConnectionError>> + Send + '_>> { ... }
fn xselinux_set_selection_create_context<'c, 'input, 'future>(
&'c self,
context: &'input [u8],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>
where 'c: 'future,
'input: 'future { ... }
fn xselinux_get_selection_create_context(
&self,
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetSelectionCreateContextReply>, ConnectionError>> + Send + '_>> { ... }
fn xselinux_set_selection_use_context<'c, 'input, 'future>(
&'c self,
context: &'input [u8],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>
where 'c: 'future,
'input: 'future { ... }
fn xselinux_get_selection_use_context(
&self,
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetSelectionUseContextReply>, ConnectionError>> + Send + '_>> { ... }
fn xselinux_get_selection_context(
&self,
selection: Atom,
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetSelectionContextReply>, ConnectionError>> + Send + '_>> { ... }
fn xselinux_get_selection_data_context(
&self,
selection: Atom,
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetSelectionDataContextReply>, ConnectionError>> + Send + '_>> { ... }
fn xselinux_list_selections(
&self,
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, ListSelectionsReply>, ConnectionError>> + Send + '_>> { ... }
fn xselinux_get_client_context(
&self,
resource: u32,
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetClientContextReply>, ConnectionError>> + Send + '_>> { ... }
}Expand description
Extension trait defining the requests of this extension.
Provided Methods§
fn xselinux_query_version( &self, client_major: u8, client_minor: u8, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>> + Send + '_>>
fn xselinux_set_device_create_context<'c, 'input, 'future>(
&'c self,
context: &'input [u8],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn xselinux_get_device_create_context( &self, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetDeviceCreateContextReply>, ConnectionError>> + Send + '_>>
fn xselinux_set_device_context<'c, 'input, 'future>(
&'c self,
device: u32,
context: &'input [u8],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn xselinux_get_device_context( &self, device: u32, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetDeviceContextReply>, ConnectionError>> + Send + '_>>
fn xselinux_set_window_create_context<'c, 'input, 'future>(
&'c self,
context: &'input [u8],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn xselinux_get_window_create_context( &self, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetWindowCreateContextReply>, ConnectionError>> + Send + '_>>
fn xselinux_get_window_context( &self, window: Window, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetWindowContextReply>, ConnectionError>> + Send + '_>>
fn xselinux_set_property_create_context<'c, 'input, 'future>(
&'c self,
context: &'input [u8],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn xselinux_get_property_create_context( &self, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetPropertyCreateContextReply>, ConnectionError>> + Send + '_>>
fn xselinux_set_property_use_context<'c, 'input, 'future>(
&'c self,
context: &'input [u8],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn xselinux_get_property_use_context( &self, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetPropertyUseContextReply>, ConnectionError>> + Send + '_>>
fn xselinux_get_property_context( &self, window: Window, property: Atom, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetPropertyContextReply>, ConnectionError>> + Send + '_>>
fn xselinux_get_property_data_context( &self, window: Window, property: Atom, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetPropertyDataContextReply>, ConnectionError>> + Send + '_>>
fn xselinux_list_properties( &self, window: Window, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, ListPropertiesReply>, ConnectionError>> + Send + '_>>
fn xselinux_set_selection_create_context<'c, 'input, 'future>(
&'c self,
context: &'input [u8],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn xselinux_get_selection_create_context( &self, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetSelectionCreateContextReply>, ConnectionError>> + Send + '_>>
fn xselinux_set_selection_use_context<'c, 'input, 'future>(
&'c self,
context: &'input [u8],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn xselinux_get_selection_use_context( &self, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetSelectionUseContextReply>, ConnectionError>> + Send + '_>>
fn xselinux_get_selection_context( &self, selection: Atom, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetSelectionContextReply>, ConnectionError>> + Send + '_>>
fn xselinux_get_selection_data_context( &self, selection: Atom, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetSelectionDataContextReply>, ConnectionError>> + Send + '_>>
fn xselinux_list_selections( &self, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, ListSelectionsReply>, ConnectionError>> + Send + '_>>
fn xselinux_get_client_context( &self, resource: u32, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetClientContextReply>, 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.