x11rb::protocol::sync

Trait ConnectionExt

Source
pub trait ConnectionExt: RequestConnection {
Show 20 methods // Provided methods fn sync_initialize( &self, desired_major_version: u8, desired_minor_version: u8, ) -> Result<Cookie<'_, Self, InitializeReply>, ConnectionError> { ... } fn sync_list_system_counters( &self, ) -> Result<Cookie<'_, Self, ListSystemCountersReply>, ConnectionError> { ... } fn sync_create_counter( &self, id: Counter, initial_value: Int64, ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn sync_destroy_counter( &self, counter: Counter, ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn sync_query_counter( &self, counter: Counter, ) -> Result<Cookie<'_, Self, QueryCounterReply>, ConnectionError> { ... } fn sync_await_<'c, 'input>( &'c self, wait_list: &'input [Waitcondition], ) -> Result<VoidCookie<'c, Self>, ConnectionError> { ... } fn sync_change_counter( &self, counter: Counter, amount: Int64, ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn sync_set_counter( &self, counter: Counter, value: Int64, ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn sync_create_alarm<'c, 'input>( &'c self, id: Alarm, value_list: &'input CreateAlarmAux, ) -> Result<VoidCookie<'c, Self>, ConnectionError> { ... } fn sync_change_alarm<'c, 'input>( &'c self, id: Alarm, value_list: &'input ChangeAlarmAux, ) -> Result<VoidCookie<'c, Self>, ConnectionError> { ... } fn sync_destroy_alarm( &self, alarm: Alarm, ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn sync_query_alarm( &self, alarm: Alarm, ) -> Result<Cookie<'_, Self, QueryAlarmReply>, ConnectionError> { ... } fn sync_set_priority( &self, id: u32, priority: i32, ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn sync_get_priority( &self, id: u32, ) -> Result<Cookie<'_, Self, GetPriorityReply>, ConnectionError> { ... } fn sync_create_fence( &self, drawable: Drawable, fence: Fence, initially_triggered: bool, ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn sync_trigger_fence( &self, fence: Fence, ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn sync_reset_fence( &self, fence: Fence, ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn sync_destroy_fence( &self, fence: Fence, ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn sync_query_fence( &self, fence: Fence, ) -> Result<Cookie<'_, Self, QueryFenceReply>, ConnectionError> { ... } fn sync_await_fence<'c, 'input>( &'c self, fence_list: &'input [Fence], ) -> Result<VoidCookie<'c, Self>, ConnectionError> { ... }
}
Expand description

Extension trait defining the requests of this extension.

Provided Methods§

Source

fn sync_initialize( &self, desired_major_version: u8, desired_minor_version: u8, ) -> Result<Cookie<'_, Self, InitializeReply>, ConnectionError>

Source

fn sync_list_system_counters( &self, ) -> Result<Cookie<'_, Self, ListSystemCountersReply>, ConnectionError>

Source

fn sync_create_counter( &self, id: Counter, initial_value: Int64, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

Source

fn sync_destroy_counter( &self, counter: Counter, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

Source

fn sync_query_counter( &self, counter: Counter, ) -> Result<Cookie<'_, Self, QueryCounterReply>, ConnectionError>

Source

fn sync_await_<'c, 'input>( &'c self, wait_list: &'input [Waitcondition], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

Source

fn sync_change_counter( &self, counter: Counter, amount: Int64, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

Source

fn sync_set_counter( &self, counter: Counter, value: Int64, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

Source

fn sync_create_alarm<'c, 'input>( &'c self, id: Alarm, value_list: &'input CreateAlarmAux, ) -> Result<VoidCookie<'c, Self>, ConnectionError>

Source

fn sync_change_alarm<'c, 'input>( &'c self, id: Alarm, value_list: &'input ChangeAlarmAux, ) -> Result<VoidCookie<'c, Self>, ConnectionError>

Source

fn sync_destroy_alarm( &self, alarm: Alarm, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

Source

fn sync_query_alarm( &self, alarm: Alarm, ) -> Result<Cookie<'_, Self, QueryAlarmReply>, ConnectionError>

Source

fn sync_set_priority( &self, id: u32, priority: i32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

Source

fn sync_get_priority( &self, id: u32, ) -> Result<Cookie<'_, Self, GetPriorityReply>, ConnectionError>

Source

fn sync_create_fence( &self, drawable: Drawable, fence: Fence, initially_triggered: bool, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

Source

fn sync_trigger_fence( &self, fence: Fence, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

Source

fn sync_reset_fence( &self, fence: Fence, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

Source

fn sync_destroy_fence( &self, fence: Fence, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

Source

fn sync_query_fence( &self, fence: Fence, ) -> Result<Cookie<'_, Self, QueryFenceReply>, ConnectionError>

Source

fn sync_await_fence<'c, 'input>( &'c self, fence_list: &'input [Fence], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

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§