pub struct BlockingConnection<C> { /* private fields */ }
Expand description
A Connection
implementation that uses a threadpool to handle requests.
This type wraps around an existing x11rb
Connection
type,
and makes it non-blocking by pushing all operations to a threadpool. This is good if, for instance,
you have a Connection
type that can’t trivially be integrated into a async runtime.
However, if you have the option of using a Connection
type that is integrated into a real async
reactor, you should use that instead.
§Implementation
The blocking
threadpool is used to handle all requests.
Implementations§
Source§impl<C: BlConnection + Send + Sync + 'static> BlockingConnection<C>
impl<C: BlConnection + Send + Sync + 'static> BlockingConnection<C>
Source§impl<S: Stream + Send + Sync + 'static> BlockingConnection<RustConnection<S>>
impl<S: Stream + Send + Sync + 'static> BlockingConnection<RustConnection<S>>
Sourcepub async fn connect_to_stream(
stream: S,
screen: usize,
) -> Result<Self, ConnectError>
pub async fn connect_to_stream( stream: S, screen: usize, ) -> Result<Self, ConnectError>
Establish a connection over the given stream.
Sourcepub async fn connect_to_stream_with_auth_info(
stream: S,
screen: usize,
auth_name: Vec<u8>,
auth_data: Vec<u8>,
) -> Result<Self, ConnectError>
pub async fn connect_to_stream_with_auth_info( stream: S, screen: usize, auth_name: Vec<u8>, auth_data: Vec<u8>, ) -> Result<Self, ConnectError>
Establish a connection over the given stream using the given auth info
Trait Implementations§
Source§impl<C: BlConnection + Send + Sync + 'static> Connection for BlockingConnection<C>
impl<C: BlConnection + Send + Sync + 'static> Connection for BlockingConnection<C>
Source§fn poll_for_raw_event_with_sequence(
&self,
) -> Result<Option<RawEventAndSeqNumber<Self::Buf>>, ConnectionError>
fn poll_for_raw_event_with_sequence( &self, ) -> Result<Option<RawEventAndSeqNumber<Self::Buf>>, ConnectionError>
Poll for a raw/unparsed event from the X11 server.
Source§fn wait_for_raw_event_with_sequence(
&self,
) -> Pin<Box<dyn Future<Output = Result<RawEventAndSeqNumber<Self::Buf>, ConnectionError>> + Send + '_>>
fn wait_for_raw_event_with_sequence( &self, ) -> Pin<Box<dyn Future<Output = Result<RawEventAndSeqNumber<Self::Buf>, ConnectionError>> + Send + '_>>
Wait for a raw/unparsed event from the X11 server. Read more
Source§fn generate_id(
&self,
) -> Pin<Box<dyn Future<Output = Result<u32, ReplyOrIdError>> + Send + '_>>
fn generate_id( &self, ) -> Pin<Box<dyn Future<Output = Result<u32, ReplyOrIdError>> + Send + '_>>
Generate a new X11 identifier. Read more
Source§fn flush(
&self,
) -> Pin<Box<dyn Future<Output = Result<(), ConnectionError>> + Send + '_>>
fn flush( &self, ) -> Pin<Box<dyn Future<Output = Result<(), ConnectionError>> + Send + '_>>
Flush the output buffer.
Source§fn wait_for_event(
&self,
) -> Pin<Box<dyn Future<Output = Result<Event, ConnectionError>> + Send + '_>>
fn wait_for_event( &self, ) -> Pin<Box<dyn Future<Output = Result<Event, ConnectionError>> + Send + '_>>
Wait for a new event from the X11 server. Read more
Source§fn wait_for_raw_event(
&self,
) -> Pin<Box<dyn Future<Output = Result<Self::Buf, ConnectionError>> + Send + '_>>
fn wait_for_raw_event( &self, ) -> Pin<Box<dyn Future<Output = Result<Self::Buf, ConnectionError>> + Send + '_>>
Wait for a new event from the X11 server. Read more
Source§fn wait_for_event_with_sequence(
&self,
) -> Pin<Box<dyn Future<Output = Result<EventAndSeqNumber, ConnectionError>> + Send + '_>>
fn wait_for_event_with_sequence( &self, ) -> Pin<Box<dyn Future<Output = Result<EventAndSeqNumber, ConnectionError>> + Send + '_>>
Wait for a new event from the X11 server. Read more
Source§fn poll_for_event(&self) -> Result<Option<Event>, ConnectionError>
fn poll_for_event(&self) -> Result<Option<Event>, ConnectionError>
Poll for a new event from the X11 server.
Source§fn poll_for_raw_event(&self) -> Result<Option<Self::Buf>, ConnectionError>
fn poll_for_raw_event(&self) -> Result<Option<Self::Buf>, ConnectionError>
Poll for a raw/unparsed event from the X11 server.
Source§fn poll_for_event_with_sequence(
&self,
) -> Result<Option<EventAndSeqNumber>, ConnectionError>
fn poll_for_event_with_sequence( &self, ) -> Result<Option<EventAndSeqNumber>, ConnectionError>
Poll for a new event from the X11 server.
Source§impl<C: Debug> Debug for BlockingConnection<C>
impl<C: Debug> Debug for BlockingConnection<C>
Source§impl<C: BlConnection + Send + Sync + 'static> RequestConnection for BlockingConnection<C>
impl<C: BlConnection + Send + Sync + 'static> RequestConnection for BlockingConnection<C>
Source§type Buf = <C as RequestConnection>::Buf
type Buf = <C as RequestConnection>::Buf
Type used as buffer to store raw replies or events before
they are parsed.
Source§fn check_for_raw_error(
&self,
sequence: SequenceNumber,
) -> Pin<Box<dyn Future<Output = Result<Option<Self::Buf>, ConnectionError>> + Send + '_>>
fn check_for_raw_error( &self, sequence: SequenceNumber, ) -> Pin<Box<dyn Future<Output = Result<Option<Self::Buf>, ConnectionError>> + Send + '_>>
Check whether a request has errored. Read more
Source§fn discard_reply(
&self,
sequence: SequenceNumber,
kind: RequestKind,
mode: DiscardMode,
)
fn discard_reply( &self, sequence: SequenceNumber, kind: RequestKind, mode: DiscardMode, )
The reply for this request shoiuld be discarded.
Source§fn extension_information(
&self,
name: &'static str,
) -> Pin<Box<dyn Future<Output = Result<Option<ExtensionInformation>, ConnectionError>> + Send + '_>>
fn extension_information( &self, name: &'static str, ) -> Pin<Box<dyn Future<Output = Result<Option<ExtensionInformation>, ConnectionError>> + Send + '_>>
Get information about an extension. Read more
Source§fn prefetch_extension_information(
&self,
name: &'static str,
) -> Pin<Box<dyn Future<Output = Result<(), ConnectionError>> + Send + '_>>
fn prefetch_extension_information( &self, name: &'static str, ) -> Pin<Box<dyn Future<Output = Result<(), ConnectionError>> + Send + '_>>
Prefetch information about an extension. Read more
Source§fn maximum_request_bytes(
&self,
) -> Pin<Box<dyn Future<Output = usize> + Send + '_>>
fn maximum_request_bytes( &self, ) -> Pin<Box<dyn Future<Output = usize> + Send + '_>>
Get the maximum request length. Read more
Source§fn prefetch_maximum_request_bytes(
&self,
) -> Pin<Box<dyn Future<Output = ()> + Send + '_>>
fn prefetch_maximum_request_bytes( &self, ) -> Pin<Box<dyn Future<Output = ()> + Send + '_>>
Prefetches the maximum request length. Read more
Source§fn parse_error(&self, error: &[u8]) -> Result<X11Error, ParseError>
fn parse_error(&self, error: &[u8]) -> Result<X11Error, ParseError>
Parse a generic error.
Source§fn parse_event(&self, event: &[u8]) -> Result<Event, ParseError>
fn parse_event(&self, event: &[u8]) -> Result<Event, ParseError>
Parse a generic event.
Source§fn send_request_with_reply<'this, 'bufs, 'sl, 're, 'future, R>(
&'this self,
bufs: &'bufs [IoSlice<'sl>],
fds: Vec<RawFdContainer>,
) -> Pin<Box<dyn Future<Output = Result<Cookie<'this, Self, R>, ConnectionError>> + Send + 'future>>
fn send_request_with_reply<'this, 'bufs, 'sl, 're, 'future, R>( &'this self, bufs: &'bufs [IoSlice<'sl>], fds: Vec<RawFdContainer>, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'this, Self, R>, ConnectionError>> + Send + 'future>>
Send a request with a reply to the server. Read more
Source§fn send_request_with_reply_with_fds<'this, 'bufs, 'sl, 're, 'future, R>(
&'this self,
bufs: &'bufs [IoSlice<'sl>],
fds: Vec<RawFdContainer>,
) -> Pin<Box<dyn Future<Output = Result<CookieWithFds<'this, Self, R>, ConnectionError>> + Send + 'future>>where
R: TryParseFd + Send + 're,
'this: 'future,
'bufs: 'future,
'sl: 'future,
're: 'future,
fn send_request_with_reply_with_fds<'this, 'bufs, 'sl, 're, 'future, R>(
&'this self,
bufs: &'bufs [IoSlice<'sl>],
fds: Vec<RawFdContainer>,
) -> Pin<Box<dyn Future<Output = Result<CookieWithFds<'this, Self, R>, ConnectionError>> + Send + 'future>>where
R: TryParseFd + Send + 're,
'this: 'future,
'bufs: 'future,
'sl: 'future,
're: 'future,
Send a request with a reply containing file descriptors to the server. Read more
Source§fn send_request_without_reply<'this, 'bufs, 'sl, 'future>(
&'this self,
bufs: &'bufs [IoSlice<'sl>],
fds: Vec<RawFdContainer>,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'this, Self>, ConnectionError>> + Send + 'future>>where
'this: 'future,
'bufs: 'future,
'sl: 'future,
fn send_request_without_reply<'this, 'bufs, 'sl, 'future>(
&'this self,
bufs: &'bufs [IoSlice<'sl>],
fds: Vec<RawFdContainer>,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'this, Self>, ConnectionError>> + Send + 'future>>where
'this: 'future,
'bufs: 'future,
'sl: 'future,
Send a request without a reply to the server. Read more
Source§fn wait_for_reply(
&self,
sequence: SequenceNumber,
) -> Pin<Box<dyn Future<Output = Result<Option<Self::Buf>, ConnectionError>> + Send + '_>>
fn wait_for_reply( &self, sequence: SequenceNumber, ) -> Pin<Box<dyn Future<Output = Result<Option<Self::Buf>, ConnectionError>> + Send + '_>>
Wait for the reply to a request. Read more
Source§fn wait_for_reply_or_raw_error(
&self,
sequence: SequenceNumber,
) -> Pin<Box<dyn Future<Output = Result<ReplyOrError<Self::Buf>, ConnectionError>> + Send + '_>>
fn wait_for_reply_or_raw_error( &self, sequence: SequenceNumber, ) -> Pin<Box<dyn Future<Output = Result<ReplyOrError<Self::Buf>, ConnectionError>> + Send + '_>>
Wait for the reply to a request. Read more
Source§fn wait_for_reply_with_fds_raw(
&self,
sequence: SequenceNumber,
) -> Pin<Box<dyn Future<Output = Result<ReplyOrError<BufWithFds<Self::Buf>, Self::Buf>, ConnectionError>> + Send + '_>>
fn wait_for_reply_with_fds_raw( &self, sequence: SequenceNumber, ) -> Pin<Box<dyn Future<Output = Result<ReplyOrError<BufWithFds<Self::Buf>, Self::Buf>, ConnectionError>> + Send + '_>>
Wait for the reply to a request with file descriptors. Read more
Source§fn send_trait_request_with_reply<'this, 'req, 'future, R>(
&'this self,
request: R,
) -> Pin<Box<dyn Future<Output = Result<Cookie<'this, Self, R::Reply>, ConnectionError>> + Send + 'future>>
fn send_trait_request_with_reply<'this, 'req, 'future, R>( &'this self, request: R, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'this, Self, R::Reply>, ConnectionError>> + Send + 'future>>
Send a request with a reply to the server. Read more
Source§fn send_trait_request_with_reply_with_fds<'this, 'req, 'future, R>(
&'this self,
request: R,
) -> Pin<Box<dyn Future<Output = Result<CookieWithFds<'this, Self, R::Reply>, ConnectionError>> + Send + 'future>>
fn send_trait_request_with_reply_with_fds<'this, 'req, 'future, R>( &'this self, request: R, ) -> Pin<Box<dyn Future<Output = Result<CookieWithFds<'this, Self, R::Reply>, ConnectionError>> + Send + 'future>>
Send a request with a reply containing file descriptors to the server. Read more
Source§fn send_trait_request_without_reply<'this, 'req, 'future, R>(
&'this self,
request: R,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'this, Self>, ConnectionError>> + Send + 'future>>where
R: VoidRequest + Send + 'req,
'this: 'future,
'req: 'future,
fn send_trait_request_without_reply<'this, 'req, 'future, R>(
&'this self,
request: R,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'this, Self>, ConnectionError>> + Send + 'future>>where
R: VoidRequest + Send + 'req,
'this: 'future,
'req: 'future,
Send a request without a reply to the server. Read more
Source§fn wait_for_reply_or_error(
&self,
sequence: SequenceNumber,
) -> Pin<Box<dyn Future<Output = Result<Self::Buf, ReplyError>> + Send + '_>>
fn wait_for_reply_or_error( &self, sequence: SequenceNumber, ) -> Pin<Box<dyn Future<Output = Result<Self::Buf, ReplyError>> + Send + '_>>
Wait for the reply to a request. Read more
Source§fn wait_for_reply_with_fds(
&self,
sequence: SequenceNumber,
) -> Pin<Box<dyn Future<Output = Result<BufWithFds<Self::Buf>, ReplyError>> + Send + '_>>
fn wait_for_reply_with_fds( &self, sequence: SequenceNumber, ) -> Pin<Box<dyn Future<Output = Result<BufWithFds<Self::Buf>, ReplyError>> + Send + '_>>
Wait for the reply to a request with file descriptors. Read more
Source§fn check_for_error(
&self,
sequence: SequenceNumber,
) -> Pin<Box<dyn Future<Output = Result<(), ReplyError>> + Send + '_>>
fn check_for_error( &self, sequence: SequenceNumber, ) -> Pin<Box<dyn Future<Output = Result<(), ReplyError>> + Send + '_>>
Check whether a request has errored. Read more
Auto Trait Implementations§
impl<C> Freeze for BlockingConnection<C>
impl<C> RefUnwindSafe for BlockingConnection<C>where
C: RefUnwindSafe,
impl<C> Send for BlockingConnection<C>
impl<C> Sync for BlockingConnection<C>
impl<C> Unpin for BlockingConnection<C>
impl<C> UnwindSafe for BlockingConnection<C>where
C: RefUnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
Source§fn create_window<'c, 'input, 'future>(
&'c self,
depth: u8,
wid: Window,
parent: Window,
x: i16,
y: i16,
width: u16,
height: u16,
border_width: u16,
class: WindowClass,
visual: Visualid,
value_list: &'input CreateWindowAux,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn create_window<'c, 'input, 'future>(
&'c self,
depth: u8,
wid: Window,
parent: Window,
x: i16,
y: i16,
width: u16,
height: u16,
border_width: u16,
class: WindowClass,
visual: Visualid,
value_list: &'input CreateWindowAux,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
Creates a window. Read more
Source§fn change_window_attributes<'c, 'input, 'future>(
&'c self,
window: Window,
value_list: &'input ChangeWindowAttributesAux,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn change_window_attributes<'c, 'input, 'future>(
&'c self,
window: Window,
value_list: &'input ChangeWindowAttributesAux,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
change window attributes. Read more
Source§fn get_window_attributes(
&self,
window: Window,
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetWindowAttributesReply>, ConnectionError>> + Send + '_>>
fn get_window_attributes( &self, window: Window, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetWindowAttributesReply>, ConnectionError>> + Send + '_>>
Gets window attributes. Read more
Source§fn destroy_window(
&self,
window: Window,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn destroy_window( &self, window: Window, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
Destroys a window. Read more
fn destroy_subwindows( &self, window: Window, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
Source§fn change_save_set(
&self,
mode: SetMode,
window: Window,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn change_save_set( &self, mode: SetMode, window: Window, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
Changes a client’s save set. Read more
Source§fn reparent_window(
&self,
window: Window,
parent: Window,
x: i16,
y: i16,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn reparent_window( &self, window: Window, parent: Window, x: i16, y: i16, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
Reparents a window. Read more
Source§fn map_window(
&self,
window: Window,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn map_window( &self, window: Window, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
Makes a window visible. Read more
fn map_subwindows( &self, window: Window, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
Source§fn unmap_window(
&self,
window: Window,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn unmap_window( &self, window: Window, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
Makes a window invisible. Read more
fn unmap_subwindows( &self, window: Window, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
Source§fn configure_window<'c, 'input, 'future>(
&'c self,
window: Window,
value_list: &'input ConfigureWindowAux,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn configure_window<'c, 'input, 'future>(
&'c self,
window: Window,
value_list: &'input ConfigureWindowAux,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
Configures window attributes. Read more
Source§fn circulate_window(
&self,
direction: Circulate,
window: Window,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn circulate_window( &self, direction: Circulate, window: Window, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
Change window stacking order. Read more
Source§fn get_geometry(
&self,
drawable: Drawable,
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetGeometryReply>, ConnectionError>> + Send + '_>>
fn get_geometry( &self, drawable: Drawable, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetGeometryReply>, ConnectionError>> + Send + '_>>
Get current window geometry. Read more
Source§fn query_tree(
&self,
window: Window,
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryTreeReply>, ConnectionError>> + Send + '_>>
fn query_tree( &self, window: Window, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryTreeReply>, ConnectionError>> + Send + '_>>
query the window tree. Read more
Source§fn intern_atom<'c, 'input, 'future>(
&'c self,
only_if_exists: bool,
name: &'input [u8],
) -> Pin<Box<dyn Future<Output = Result<Cookie<'c, Self, InternAtomReply>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn intern_atom<'c, 'input, 'future>(
&'c self,
only_if_exists: bool,
name: &'input [u8],
) -> Pin<Box<dyn Future<Output = Result<Cookie<'c, Self, InternAtomReply>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
Get atom identifier by name. Read more
fn get_atom_name( &self, atom: Atom, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetAtomNameReply>, ConnectionError>> + Send + '_>>
Source§fn change_property<'c, 'input, 'future, A, B>(
&'c self,
mode: PropMode,
window: Window,
property: A,
type_: B,
format: u8,
data_len: u32,
data: &'input [u8],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>
fn change_property<'c, 'input, 'future, A, B>( &'c self, mode: PropMode, window: Window, property: A, type_: B, format: u8, data_len: u32, data: &'input [u8], ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>
Changes a window property. Read more
fn delete_property( &self, window: Window, property: Atom, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
Source§fn get_property<A, B>(
&self,
delete: bool,
window: Window,
property: A,
type_: B,
long_offset: u32,
long_length: u32,
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetPropertyReply>, ConnectionError>> + Send + '_>>
fn get_property<A, B>( &self, delete: bool, window: Window, property: A, type_: B, long_offset: u32, long_length: u32, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetPropertyReply>, ConnectionError>> + Send + '_>>
Gets a window property. Read more
fn list_properties( &self, window: Window, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, ListPropertiesReply>, ConnectionError>> + Send + '_>>
Source§fn set_selection_owner<A, B>(
&self,
owner: A,
selection: Atom,
time: B,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn set_selection_owner<A, B>( &self, owner: A, selection: Atom, time: B, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
Sets the owner of a selection. Read more
Source§fn get_selection_owner(
&self,
selection: Atom,
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetSelectionOwnerReply>, ConnectionError>> + Send + '_>>
fn get_selection_owner( &self, selection: Atom, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetSelectionOwnerReply>, ConnectionError>> + Send + '_>>
Gets the owner of a selection. Read more
fn convert_selection<A, B>( &self, requestor: Window, selection: Atom, target: Atom, property: A, time: B, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
Source§fn send_event<A, B>(
&self,
propagate: bool,
destination: A,
event_mask: EventMask,
event: B,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn send_event<A, B>( &self, propagate: bool, destination: A, event_mask: EventMask, event: B, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
send an event. Read more
Source§fn grab_pointer<A, B, C>(
&self,
owner_events: bool,
grab_window: Window,
event_mask: EventMask,
pointer_mode: GrabMode,
keyboard_mode: GrabMode,
confine_to: A,
cursor: B,
time: C,
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GrabPointerReply>, ConnectionError>> + Send + '_>>
fn grab_pointer<A, B, C>( &self, owner_events: bool, grab_window: Window, event_mask: EventMask, pointer_mode: GrabMode, keyboard_mode: GrabMode, confine_to: A, cursor: B, time: C, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GrabPointerReply>, ConnectionError>> + Send + '_>>
Grab the pointer. Read more
Source§fn ungrab_pointer<A>(
&self,
time: A,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn ungrab_pointer<A>( &self, time: A, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
release the pointer. Read more
Grab pointer button(s). Read more
fn change_active_pointer_grab<A, B>( &self, cursor: A, time: B, event_mask: EventMask, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
Source§fn grab_keyboard<A>(
&self,
owner_events: bool,
grab_window: Window,
time: A,
pointer_mode: GrabMode,
keyboard_mode: GrabMode,
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GrabKeyboardReply>, ConnectionError>> + Send + '_>>
fn grab_keyboard<A>( &self, owner_events: bool, grab_window: Window, time: A, pointer_mode: GrabMode, keyboard_mode: GrabMode, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GrabKeyboardReply>, ConnectionError>> + Send + '_>>
Grab the keyboard. Read more
fn ungrab_keyboard<A>( &self, time: A, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
Source§fn grab_key<A>(
&self,
owner_events: bool,
grab_window: Window,
modifiers: ModMask,
key: A,
pointer_mode: GrabMode,
keyboard_mode: GrabMode,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn grab_key<A>( &self, owner_events: bool, grab_window: Window, modifiers: ModMask, key: A, pointer_mode: GrabMode, keyboard_mode: GrabMode, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
Grab keyboard key(s). Read more
Source§fn ungrab_key<A>(
&self,
key: A,
grab_window: Window,
modifiers: ModMask,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn ungrab_key<A>( &self, key: A, grab_window: Window, modifiers: ModMask, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
release a key combination. Read more
Source§fn allow_events<A>(
&self,
mode: Allow,
time: A,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn allow_events<A>( &self, mode: Allow, time: A, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
release queued events. Read more
fn grab_server( &self, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn ungrab_server( &self, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
Source§fn query_pointer(
&self,
window: Window,
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryPointerReply>, ConnectionError>> + Send + '_>>
fn query_pointer( &self, window: Window, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryPointerReply>, ConnectionError>> + Send + '_>>
get pointer coordinates. Read more
fn get_motion_events<A, B>( &self, window: Window, start: A, stop: B, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetMotionEventsReply>, ConnectionError>> + Send + '_>>
fn translate_coordinates( &self, src_window: Window, dst_window: Window, src_x: i16, src_y: i16, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, TranslateCoordinatesReply>, ConnectionError>> + Send + '_>>
Source§fn warp_pointer<A, B>(
&self,
src_window: A,
dst_window: B,
src_x: i16,
src_y: i16,
src_width: u16,
src_height: u16,
dst_x: i16,
dst_y: i16,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn warp_pointer<A, B>( &self, src_window: A, dst_window: B, src_x: i16, src_y: i16, src_width: u16, src_height: u16, dst_x: i16, dst_y: i16, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
move mouse pointer. Read more
Source§fn set_input_focus<A, B>(
&self,
revert_to: InputFocus,
focus: A,
time: B,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn set_input_focus<A, B>( &self, revert_to: InputFocus, focus: A, time: B, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
Sets input focus. Read more
fn get_input_focus( &self, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetInputFocusReply>, ConnectionError>> + Send + '_>>
fn query_keymap( &self, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryKeymapReply>, ConnectionError>> + Send + '_>>
Source§fn open_font<'c, 'input, 'future>(
&'c self,
fid: Font,
name: &'input [u8],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn open_font<'c, 'input, 'future>(
&'c self,
fid: Font,
name: &'input [u8],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
opens a font. Read more
fn close_font( &self, font: Font, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
Source§fn query_font(
&self,
font: Fontable,
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryFontReply>, ConnectionError>> + Send + '_>>
fn query_font( &self, font: Fontable, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryFontReply>, ConnectionError>> + Send + '_>>
query font metrics. Read more
Source§fn query_text_extents<'c, 'input, 'future>(
&'c self,
font: Fontable,
string: &'input [Char2b],
) -> Pin<Box<dyn Future<Output = Result<Cookie<'c, Self, QueryTextExtentsReply>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn query_text_extents<'c, 'input, 'future>(
&'c self,
font: Fontable,
string: &'input [Char2b],
) -> Pin<Box<dyn Future<Output = Result<Cookie<'c, Self, QueryTextExtentsReply>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
get text extents. Read more
Source§fn list_fonts<'c, 'input, 'future>(
&'c self,
max_names: u16,
pattern: &'input [u8],
) -> Pin<Box<dyn Future<Output = Result<Cookie<'c, Self, ListFontsReply>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn list_fonts<'c, 'input, 'future>(
&'c self,
max_names: u16,
pattern: &'input [u8],
) -> Pin<Box<dyn Future<Output = Result<Cookie<'c, Self, ListFontsReply>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
get matching font names. Read more
Source§fn list_fonts_with_info<'c, 'input, 'future>(
&'c self,
max_names: u16,
pattern: &'input [u8],
) -> Pin<Box<dyn Future<Output = Result<ListFontsWithInfoCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn list_fonts_with_info<'c, 'input, 'future>(
&'c self,
max_names: u16,
pattern: &'input [u8],
) -> Pin<Box<dyn Future<Output = Result<ListFontsWithInfoCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
get matching font names and information. Read more
fn set_font_path<'c, 'input, 'future>(
&'c self,
font: &'input [Str],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn get_font_path( &self, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetFontPathReply>, ConnectionError>> + Send + '_>>
Source§fn create_pixmap(
&self,
depth: u8,
pid: Pixmap,
drawable: Drawable,
width: u16,
height: u16,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn create_pixmap( &self, depth: u8, pid: Pixmap, drawable: Drawable, width: u16, height: u16, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
Creates a pixmap. Read more
Source§fn free_pixmap(
&self,
pixmap: Pixmap,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn free_pixmap( &self, pixmap: Pixmap, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
Destroys a pixmap. Read more
Source§fn create_gc<'c, 'input, 'future>(
&'c self,
cid: Gcontext,
drawable: Drawable,
value_list: &'input CreateGCAux,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn create_gc<'c, 'input, 'future>(
&'c self,
cid: Gcontext,
drawable: Drawable,
value_list: &'input CreateGCAux,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
Creates a graphics context. Read more
Source§fn change_gc<'c, 'input, 'future>(
&'c self,
gc: Gcontext,
value_list: &'input ChangeGCAux,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn change_gc<'c, 'input, 'future>(
&'c self,
gc: Gcontext,
value_list: &'input ChangeGCAux,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
change graphics context components. Read more
fn copy_gc( &self, src_gc: Gcontext, dst_gc: Gcontext, value_mask: GC, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn set_dashes<'c, 'input, 'future>(
&'c self,
gc: Gcontext,
dash_offset: u16,
dashes: &'input [u8],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn set_clip_rectangles<'c, 'input, 'future>(
&'c self,
ordering: ClipOrdering,
gc: Gcontext,
clip_x_origin: i16,
clip_y_origin: i16,
rectangles: &'input [Rectangle],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
Source§fn free_gc(
&self,
gc: Gcontext,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn free_gc( &self, gc: Gcontext, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
Destroys a graphics context. Read more
fn clear_area( &self, exposures: bool, window: Window, x: i16, y: i16, width: u16, height: u16, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
Source§fn copy_area(
&self,
src_drawable: Drawable,
dst_drawable: Drawable,
gc: Gcontext,
src_x: i16,
src_y: i16,
dst_x: i16,
dst_y: i16,
width: u16,
height: u16,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn copy_area( &self, src_drawable: Drawable, dst_drawable: Drawable, gc: Gcontext, src_x: i16, src_y: i16, dst_x: i16, dst_y: i16, width: u16, height: u16, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
copy areas. Read more
fn copy_plane( &self, src_drawable: Drawable, dst_drawable: Drawable, gc: Gcontext, src_x: i16, src_y: i16, dst_x: i16, dst_y: i16, width: u16, height: u16, bit_plane: u32, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn poly_point<'c, 'input, 'future>(
&'c self,
coordinate_mode: CoordMode,
drawable: Drawable,
gc: Gcontext,
points: &'input [Point],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
Source§fn poly_line<'c, 'input, 'future>(
&'c self,
coordinate_mode: CoordMode,
drawable: Drawable,
gc: Gcontext,
points: &'input [Point],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn poly_line<'c, 'input, 'future>(
&'c self,
coordinate_mode: CoordMode,
drawable: Drawable,
gc: Gcontext,
points: &'input [Point],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
draw lines. Read more
Source§fn poly_segment<'c, 'input, 'future>(
&'c self,
drawable: Drawable,
gc: Gcontext,
segments: &'input [Segment],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn poly_segment<'c, 'input, 'future>(
&'c self,
drawable: Drawable,
gc: Gcontext,
segments: &'input [Segment],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
draw lines. Read more
fn poly_rectangle<'c, 'input, 'future>(
&'c self,
drawable: Drawable,
gc: Gcontext,
rectangles: &'input [Rectangle],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn poly_arc<'c, 'input, 'future>(
&'c self,
drawable: Drawable,
gc: Gcontext,
arcs: &'input [Arc],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn fill_poly<'c, 'input, 'future>(
&'c self,
drawable: Drawable,
gc: Gcontext,
shape: PolyShape,
coordinate_mode: CoordMode,
points: &'input [Point],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
Source§fn poly_fill_rectangle<'c, 'input, 'future>(
&'c self,
drawable: Drawable,
gc: Gcontext,
rectangles: &'input [Rectangle],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn poly_fill_rectangle<'c, 'input, 'future>(
&'c self,
drawable: Drawable,
gc: Gcontext,
rectangles: &'input [Rectangle],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
Fills rectangles. Read more
fn poly_fill_arc<'c, 'input, 'future>(
&'c self,
drawable: Drawable,
gc: Gcontext,
arcs: &'input [Arc],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn put_image<'c, 'input, 'future>(
&'c self,
format: ImageFormat,
drawable: Drawable,
gc: Gcontext,
width: u16,
height: u16,
dst_x: i16,
dst_y: i16,
left_pad: u8,
depth: u8,
data: &'input [u8],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn get_image( &self, format: ImageFormat, drawable: Drawable, x: i16, y: i16, width: u16, height: u16, plane_mask: u32, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetImageReply>, ConnectionError>> + Send + '_>>
fn poly_text8<'c, 'input, 'future>(
&'c self,
drawable: Drawable,
gc: Gcontext,
x: i16,
y: i16,
items: &'input [u8],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn poly_text16<'c, 'input, 'future>(
&'c self,
drawable: Drawable,
gc: Gcontext,
x: i16,
y: i16,
items: &'input [u8],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
Source§fn image_text8<'c, 'input, 'future>(
&'c self,
drawable: Drawable,
gc: Gcontext,
x: i16,
y: i16,
string: &'input [u8],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn image_text8<'c, 'input, 'future>(
&'c self,
drawable: Drawable,
gc: Gcontext,
x: i16,
y: i16,
string: &'input [u8],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
Draws text. Read more
Source§fn image_text16<'c, 'input, 'future>(
&'c self,
drawable: Drawable,
gc: Gcontext,
x: i16,
y: i16,
string: &'input [Char2b],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn image_text16<'c, 'input, 'future>(
&'c self,
drawable: Drawable,
gc: Gcontext,
x: i16,
y: i16,
string: &'input [Char2b],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
Draws text. Read more
fn create_colormap( &self, alloc: ColormapAlloc, mid: Colormap, window: Window, visual: Visualid, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn free_colormap( &self, cmap: Colormap, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn copy_colormap_and_free( &self, mid: Colormap, src_cmap: Colormap, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn install_colormap( &self, cmap: Colormap, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn uninstall_colormap( &self, cmap: Colormap, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn list_installed_colormaps( &self, window: Window, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, ListInstalledColormapsReply>, ConnectionError>> + Send + '_>>
Source§fn alloc_color(
&self,
cmap: Colormap,
red: u16,
green: u16,
blue: u16,
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, AllocColorReply>, ConnectionError>> + Send + '_>>
fn alloc_color( &self, cmap: Colormap, red: u16, green: u16, blue: u16, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, AllocColorReply>, ConnectionError>> + Send + '_>>
Allocate a color. Read more
fn alloc_named_color<'c, 'input, 'future>(
&'c self,
cmap: Colormap,
name: &'input [u8],
) -> Pin<Box<dyn Future<Output = Result<Cookie<'c, Self, AllocNamedColorReply>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn alloc_color_cells( &self, contiguous: bool, cmap: Colormap, colors: u16, planes: u16, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, AllocColorCellsReply>, ConnectionError>> + Send + '_>>
fn alloc_color_planes( &self, contiguous: bool, cmap: Colormap, colors: u16, reds: u16, greens: u16, blues: u16, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, AllocColorPlanesReply>, ConnectionError>> + Send + '_>>
fn free_colors<'c, 'input, 'future>(
&'c self,
cmap: Colormap,
plane_mask: u32,
pixels: &'input [u32],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn store_colors<'c, 'input, 'future>(
&'c self,
cmap: Colormap,
items: &'input [Coloritem],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn store_named_color<'c, 'input, 'future>(
&'c self,
flags: ColorFlag,
cmap: Colormap,
pixel: u32,
name: &'input [u8],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn query_colors<'c, 'input, 'future>(
&'c self,
cmap: Colormap,
pixels: &'input [u32],
) -> Pin<Box<dyn Future<Output = Result<Cookie<'c, Self, QueryColorsReply>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn lookup_color<'c, 'input, 'future>(
&'c self,
cmap: Colormap,
name: &'input [u8],
) -> Pin<Box<dyn Future<Output = Result<Cookie<'c, Self, LookupColorReply>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn create_cursor<A>( &self, cid: Cursor, source: Pixmap, mask: A, fore_red: u16, fore_green: u16, fore_blue: u16, back_red: u16, back_green: u16, back_blue: u16, x: u16, y: u16, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
Source§fn create_glyph_cursor<A>(
&self,
cid: Cursor,
source_font: Font,
mask_font: A,
source_char: u16,
mask_char: u16,
fore_red: u16,
fore_green: u16,
fore_blue: u16,
back_red: u16,
back_green: u16,
back_blue: u16,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn create_glyph_cursor<A>( &self, cid: Cursor, source_font: Font, mask_font: A, source_char: u16, mask_char: u16, fore_red: u16, fore_green: u16, fore_blue: u16, back_red: u16, back_green: u16, back_blue: u16, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
create cursor. Read more
Source§fn free_cursor(
&self,
cursor: Cursor,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn free_cursor( &self, cursor: Cursor, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
Deletes a cursor. Read more
fn recolor_cursor( &self, cursor: Cursor, fore_red: u16, fore_green: u16, fore_blue: u16, back_red: u16, back_green: u16, back_blue: u16, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn query_best_size( &self, class: QueryShapeOf, drawable: Drawable, width: u16, height: u16, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryBestSizeReply>, ConnectionError>> + Send + '_>>
Source§fn query_extension<'c, 'input, 'future>(
&'c self,
name: &'input [u8],
) -> Pin<Box<dyn Future<Output = Result<Cookie<'c, Self, QueryExtensionReply>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn query_extension<'c, 'input, 'future>(
&'c self,
name: &'input [u8],
) -> Pin<Box<dyn Future<Output = Result<Cookie<'c, Self, QueryExtensionReply>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
check if extension is present. Read more
fn list_extensions( &self, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, ListExtensionsReply>, ConnectionError>> + Send + '_>>
fn change_keyboard_mapping<'c, 'input, 'future>(
&'c self,
keycode_count: u8,
first_keycode: Keycode,
keysyms_per_keycode: u8,
keysyms: &'input [Keysym],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn get_keyboard_mapping( &self, first_keycode: Keycode, count: u8, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetKeyboardMappingReply>, ConnectionError>> + Send + '_>>
fn change_keyboard_control<'c, 'input, 'future>(
&'c self,
value_list: &'input ChangeKeyboardControlAux,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn get_keyboard_control( &self, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetKeyboardControlReply>, ConnectionError>> + Send + '_>>
fn bell( &self, percent: i8, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn change_pointer_control( &self, acceleration_numerator: i16, acceleration_denominator: i16, threshold: i16, do_acceleration: bool, do_threshold: bool, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn get_pointer_control( &self, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetPointerControlReply>, ConnectionError>> + Send + '_>>
fn set_screen_saver( &self, timeout: i16, interval: i16, prefer_blanking: Blanking, allow_exposures: Exposures, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn get_screen_saver( &self, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetScreenSaverReply>, ConnectionError>> + Send + '_>>
fn change_hosts<'c, 'input, 'future>(
&'c self,
mode: HostMode,
family: Family,
address: &'input [u8],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn list_hosts( &self, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, ListHostsReply>, ConnectionError>> + Send + '_>>
fn set_access_control( &self, mode: AccessControl, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn set_close_down_mode( &self, mode: CloseDown, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
Source§fn kill_client<A>(
&self,
resource: A,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn kill_client<A>( &self, resource: A, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
kills a client. Read more
fn rotate_properties<'c, 'input, 'future>(
&'c self,
window: Window,
delta: i16,
atoms: &'input [Atom],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn force_screen_saver( &self, mode: ScreenSaver, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn set_pointer_mapping<'c, 'input, 'future>(
&'c self,
map: &'input [u8],
) -> Pin<Box<dyn Future<Output = Result<Cookie<'c, Self, SetPointerMappingReply>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn get_pointer_mapping( &self, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetPointerMappingReply>, ConnectionError>> + Send + '_>>
fn set_modifier_mapping<'c, 'input, 'future>(
&'c self,
keycodes: &'input [Keycode],
) -> Pin<Box<dyn Future<Output = Result<Cookie<'c, Self, SetModifierMappingReply>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn get_modifier_mapping( &self, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetModifierMappingReply>, ConnectionError>> + Send + '_>>
fn no_operation( &self, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
Source§impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
Source§fn bigreq_enable(
&self,
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, EnableReply>, ConnectionError>> + Send + '_>>
fn bigreq_enable( &self, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, EnableReply>, ConnectionError>> + Send + '_>>
Enable the BIG-REQUESTS extension. Read more
Source§impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
fn present_query_version( &self, major_version: u32, minor_version: u32, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>> + Send + '_>>
fn present_pixmap<'c, 'input, 'future>(
&'c self,
window: Window,
pixmap: Pixmap,
serial: u32,
valid: Region,
update: Region,
x_off: i16,
y_off: i16,
target_crtc: Crtc,
wait_fence: Fence,
idle_fence: Fence,
options: u32,
target_msc: u64,
divisor: u64,
remainder: u64,
notifies: &'input [Notify],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn present_notify_msc( &self, window: Window, serial: u32, target_msc: u64, divisor: u64, remainder: u64, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn present_select_input( &self, eid: Event, window: Window, event_mask: EventMask, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn present_query_capabilities( &self, target: u32, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryCapabilitiesReply>, ConnectionError>> + Send + '_>>
fn present_pixmap_synced<'c, 'input, 'future>(
&'c self,
window: Window,
pixmap: Pixmap,
serial: u32,
valid: Region,
update: Region,
x_off: i16,
y_off: i16,
target_crtc: Crtc,
acquire_syncobj: Syncobj,
release_syncobj: Syncobj,
acquire_point: u64,
release_point: u64,
options: u32,
target_msc: u64,
divisor: u64,
remainder: u64,
notifies: &'input [Notify],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
Source§impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
fn randr_query_version( &self, major_version: u32, minor_version: u32, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>> + Send + '_>>
fn randr_set_screen_config( &self, window: Window, timestamp: Timestamp, config_timestamp: Timestamp, size_id: u16, rotation: Rotation, rate: u16, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, SetScreenConfigReply>, ConnectionError>> + Send + '_>>
fn randr_select_input( &self, window: Window, enable: NotifyMask, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn randr_get_screen_info( &self, window: Window, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetScreenInfoReply>, ConnectionError>> + Send + '_>>
fn randr_get_screen_size_range( &self, window: Window, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetScreenSizeRangeReply>, ConnectionError>> + Send + '_>>
fn randr_set_screen_size( &self, window: Window, width: u16, height: u16, mm_width: u32, mm_height: u32, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn randr_get_screen_resources( &self, window: Window, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetScreenResourcesReply>, ConnectionError>> + Send + '_>>
fn randr_get_output_info( &self, output: Output, config_timestamp: Timestamp, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetOutputInfoReply>, ConnectionError>> + Send + '_>>
fn randr_list_output_properties( &self, output: Output, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, ListOutputPropertiesReply>, ConnectionError>> + Send + '_>>
fn randr_query_output_property( &self, output: Output, property: Atom, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryOutputPropertyReply>, ConnectionError>> + Send + '_>>
fn randr_configure_output_property<'c, 'input, 'future>(
&'c self,
output: Output,
property: Atom,
pending: bool,
range: bool,
values: &'input [i32],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn randr_change_output_property<'c, 'input, 'future>(
&'c self,
output: Output,
property: Atom,
type_: Atom,
format: u8,
mode: PropMode,
num_units: u32,
data: &'input [u8],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn randr_delete_output_property( &self, output: Output, property: Atom, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn randr_get_output_property<A>( &self, output: Output, property: Atom, type_: A, long_offset: u32, long_length: u32, delete: bool, pending: bool, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetOutputPropertyReply>, ConnectionError>> + Send + '_>>
fn randr_create_mode<'c, 'input, 'future>(
&'c self,
window: Window,
mode_info: ModeInfo,
name: &'input [u8],
) -> Pin<Box<dyn Future<Output = Result<Cookie<'c, Self, CreateModeReply>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn randr_destroy_mode( &self, mode: Mode, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn randr_add_output_mode( &self, output: Output, mode: Mode, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn randr_delete_output_mode( &self, output: Output, mode: Mode, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn randr_get_crtc_info( &self, crtc: Crtc, config_timestamp: Timestamp, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetCrtcInfoReply>, ConnectionError>> + Send + '_>>
fn randr_set_crtc_config<'c, 'input, 'future>(
&'c self,
crtc: Crtc,
timestamp: Timestamp,
config_timestamp: Timestamp,
x: i16,
y: i16,
mode: Mode,
rotation: Rotation,
outputs: &'input [Output],
) -> Pin<Box<dyn Future<Output = Result<Cookie<'c, Self, SetCrtcConfigReply>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn randr_get_crtc_gamma_size( &self, crtc: Crtc, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetCrtcGammaSizeReply>, ConnectionError>> + Send + '_>>
fn randr_get_crtc_gamma( &self, crtc: Crtc, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetCrtcGammaReply>, ConnectionError>> + Send + '_>>
fn randr_set_crtc_gamma<'c, 'input, 'future>(
&'c self,
crtc: Crtc,
red: &'input [u16],
green: &'input [u16],
blue: &'input [u16],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn randr_get_screen_resources_current( &self, window: Window, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetScreenResourcesCurrentReply>, ConnectionError>> + Send + '_>>
fn randr_set_crtc_transform<'c, 'input, 'future>(
&'c self,
crtc: Crtc,
transform: Transform,
filter_name: &'input [u8],
filter_params: &'input [Fixed],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn randr_get_crtc_transform( &self, crtc: Crtc, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetCrtcTransformReply>, ConnectionError>> + Send + '_>>
fn randr_get_panning( &self, crtc: Crtc, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetPanningReply>, ConnectionError>> + Send + '_>>
fn randr_set_panning( &self, crtc: Crtc, timestamp: Timestamp, left: u16, top: u16, width: u16, height: u16, track_left: u16, track_top: u16, track_width: u16, track_height: u16, border_left: i16, border_top: i16, border_right: i16, border_bottom: i16, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, SetPanningReply>, ConnectionError>> + Send + '_>>
fn randr_set_output_primary( &self, window: Window, output: Output, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn randr_get_output_primary( &self, window: Window, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetOutputPrimaryReply>, ConnectionError>> + Send + '_>>
fn randr_get_providers( &self, window: Window, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetProvidersReply>, ConnectionError>> + Send + '_>>
fn randr_get_provider_info( &self, provider: Provider, config_timestamp: Timestamp, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetProviderInfoReply>, ConnectionError>> + Send + '_>>
fn randr_set_provider_offload_sink( &self, provider: Provider, sink_provider: Provider, config_timestamp: Timestamp, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn randr_set_provider_output_source( &self, provider: Provider, source_provider: Provider, config_timestamp: Timestamp, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn randr_list_provider_properties( &self, provider: Provider, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, ListProviderPropertiesReply>, ConnectionError>> + Send + '_>>
fn randr_query_provider_property( &self, provider: Provider, property: Atom, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryProviderPropertyReply>, ConnectionError>> + Send + '_>>
fn randr_configure_provider_property<'c, 'input, 'future>(
&'c self,
provider: Provider,
property: Atom,
pending: bool,
range: bool,
values: &'input [i32],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn randr_change_provider_property<'c, 'input, 'future>(
&'c self,
provider: Provider,
property: Atom,
type_: Atom,
format: u8,
mode: u8,
num_items: u32,
data: &'input [u8],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn randr_delete_provider_property( &self, provider: Provider, property: Atom, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn randr_get_provider_property( &self, provider: Provider, property: Atom, type_: Atom, long_offset: u32, long_length: u32, delete: bool, pending: bool, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetProviderPropertyReply>, ConnectionError>> + Send + '_>>
fn randr_get_monitors( &self, window: Window, get_active: bool, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetMonitorsReply>, ConnectionError>> + Send + '_>>
fn randr_set_monitor( &self, window: Window, monitorinfo: MonitorInfo, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn randr_delete_monitor( &self, window: Window, name: Atom, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn randr_create_lease<'c, 'input, 'future>(
&'c self,
window: Window,
lid: Lease,
crtcs: &'input [Crtc],
outputs: &'input [Output],
) -> Pin<Box<dyn Future<Output = Result<CookieWithFds<'c, Self, CreateLeaseReply>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn randr_free_lease( &self, lid: Lease, terminate: u8, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
Source§impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
fn record_query_version( &self, major_version: u16, minor_version: u16, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>> + Send + '_>>
fn record_create_context<'c, 'input, 'future>(
&'c self,
context: Context,
element_header: ElementHeader,
client_specs: &'input [ClientSpec],
ranges: &'input [Range],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn record_register_clients<'c, 'input, 'future>(
&'c self,
context: Context,
element_header: ElementHeader,
client_specs: &'input [ClientSpec],
ranges: &'input [Range],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn record_unregister_clients<'c, 'input, 'future>(
&'c self,
context: Context,
client_specs: &'input [ClientSpec],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn record_get_context( &self, context: Context, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetContextReply>, ConnectionError>> + Send + '_>>
fn record_enable_context( &self, context: Context, ) -> Pin<Box<dyn Future<Output = Result<RecordEnableContextCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn record_disable_context( &self, context: Context, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn record_free_context( &self, context: Context, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
Source§impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
fn render_query_version( &self, client_major_version: u32, client_minor_version: u32, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>> + Send + '_>>
fn render_query_pict_formats( &self, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryPictFormatsReply>, ConnectionError>> + Send + '_>>
fn render_query_pict_index_values( &self, format: Pictformat, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryPictIndexValuesReply>, ConnectionError>> + Send + '_>>
fn render_create_picture<'c, 'input, 'future>(
&'c self,
pid: Picture,
drawable: Drawable,
format: Pictformat,
value_list: &'input CreatePictureAux,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn render_change_picture<'c, 'input, 'future>(
&'c self,
picture: Picture,
value_list: &'input ChangePictureAux,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn render_set_picture_clip_rectangles<'c, 'input, 'future>(
&'c self,
picture: Picture,
clip_x_origin: i16,
clip_y_origin: i16,
rectangles: &'input [Rectangle],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn render_free_picture( &self, picture: Picture, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn render_composite<A>( &self, op: PictOp, src: Picture, mask: A, dst: Picture, src_x: i16, src_y: i16, mask_x: i16, mask_y: i16, dst_x: i16, dst_y: i16, width: u16, height: u16, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn render_trapezoids<'c, 'input, 'future>(
&'c self,
op: PictOp,
src: Picture,
dst: Picture,
mask_format: Pictformat,
src_x: i16,
src_y: i16,
traps: &'input [Trapezoid],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn render_triangles<'c, 'input, 'future>(
&'c self,
op: PictOp,
src: Picture,
dst: Picture,
mask_format: Pictformat,
src_x: i16,
src_y: i16,
triangles: &'input [Triangle],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn render_tri_strip<'c, 'input, 'future>(
&'c self,
op: PictOp,
src: Picture,
dst: Picture,
mask_format: Pictformat,
src_x: i16,
src_y: i16,
points: &'input [Pointfix],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn render_tri_fan<'c, 'input, 'future>(
&'c self,
op: PictOp,
src: Picture,
dst: Picture,
mask_format: Pictformat,
src_x: i16,
src_y: i16,
points: &'input [Pointfix],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn render_create_glyph_set( &self, gsid: Glyphset, format: Pictformat, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn render_reference_glyph_set( &self, gsid: Glyphset, existing: Glyphset, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn render_free_glyph_set( &self, glyphset: Glyphset, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn render_add_glyphs<'c, 'input, 'future>(
&'c self,
glyphset: Glyphset,
glyphids: &'input [u32],
glyphs: &'input [Glyphinfo],
data: &'input [u8],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn render_free_glyphs<'c, 'input, 'future>(
&'c self,
glyphset: Glyphset,
glyphs: &'input [Glyph],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn render_composite_glyphs8<'c, 'input, 'future>(
&'c self,
op: PictOp,
src: Picture,
dst: Picture,
mask_format: Pictformat,
glyphset: Glyphset,
src_x: i16,
src_y: i16,
glyphcmds: &'input [u8],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn render_composite_glyphs16<'c, 'input, 'future>(
&'c self,
op: PictOp,
src: Picture,
dst: Picture,
mask_format: Pictformat,
glyphset: Glyphset,
src_x: i16,
src_y: i16,
glyphcmds: &'input [u8],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn render_composite_glyphs32<'c, 'input, 'future>(
&'c self,
op: PictOp,
src: Picture,
dst: Picture,
mask_format: Pictformat,
glyphset: Glyphset,
src_x: i16,
src_y: i16,
glyphcmds: &'input [u8],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn render_fill_rectangles<'c, 'input, 'future>(
&'c self,
op: PictOp,
dst: Picture,
color: Color,
rects: &'input [Rectangle],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn render_create_cursor( &self, cid: Cursor, source: Picture, x: u16, y: u16, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn render_set_picture_transform( &self, picture: Picture, transform: Transform, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn render_query_filters( &self, drawable: Drawable, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryFiltersReply>, ConnectionError>> + Send + '_>>
fn render_set_picture_filter<'c, 'input, 'future>(
&'c self,
picture: Picture,
filter: &'input [u8],
values: &'input [Fixed],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn render_create_anim_cursor<'c, 'input, 'future>(
&'c self,
cid: Cursor,
cursors: &'input [Animcursorelt],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn render_add_traps<'c, 'input, 'future>(
&'c self,
picture: Picture,
x_off: i16,
y_off: i16,
traps: &'input [Trap],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn render_create_solid_fill( &self, picture: Picture, color: Color, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn render_create_linear_gradient<'c, 'input, 'future>(
&'c self,
picture: Picture,
p1: Pointfix,
p2: Pointfix,
stops: &'input [Fixed],
colors: &'input [Color],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn render_create_radial_gradient<'c, 'input, 'future>(
&'c self,
picture: Picture,
inner: Pointfix,
outer: Pointfix,
inner_radius: Fixed,
outer_radius: Fixed,
stops: &'input [Fixed],
colors: &'input [Color],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn render_create_conical_gradient<'c, 'input, 'future>(
&'c self,
picture: Picture,
center: Pointfix,
angle: Fixed,
stops: &'input [Fixed],
colors: &'input [Color],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
Source§impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
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,
Source§impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
fn screensaver_query_version( &self, client_major_version: u8, client_minor_version: u8, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>> + Send + '_>>
fn screensaver_query_info( &self, drawable: Drawable, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryInfoReply>, ConnectionError>> + Send + '_>>
fn screensaver_select_input( &self, drawable: Drawable, event_mask: Event, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn screensaver_set_attributes<'c, 'input, 'future>(
&'c self,
drawable: Drawable,
x: i16,
y: i16,
width: u16,
height: u16,
border_width: u16,
class: WindowClass,
depth: u8,
visual: Visualid,
value_list: &'input SetAttributesAux,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn screensaver_unset_attributes( &self, drawable: Drawable, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn screensaver_suspend( &self, suspend: u32, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
Source§impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
fn shape_query_version( &self, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>> + Send + '_>>
fn shape_rectangles<'c, 'input, 'future>(
&'c self,
operation: SO,
destination_kind: SK,
ordering: ClipOrdering,
destination_window: Window,
x_offset: i16,
y_offset: i16,
rectangles: &'input [Rectangle],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn shape_mask<A>( &self, operation: SO, destination_kind: SK, destination_window: Window, x_offset: i16, y_offset: i16, source_bitmap: A, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn shape_combine( &self, operation: SO, destination_kind: SK, source_kind: SK, destination_window: Window, x_offset: i16, y_offset: i16, source_window: Window, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn shape_offset( &self, destination_kind: SK, destination_window: Window, x_offset: i16, y_offset: i16, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn shape_query_extents( &self, destination_window: Window, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryExtentsReply>, ConnectionError>> + Send + '_>>
fn shape_select_input( &self, destination_window: Window, enable: bool, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn shape_input_selected( &self, destination_window: Window, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, InputSelectedReply>, ConnectionError>> + Send + '_>>
fn shape_get_rectangles( &self, window: Window, source_kind: SK, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetRectanglesReply>, ConnectionError>> + Send + '_>>
Source§impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
Source§fn shm_query_version(
&self,
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>> + Send + '_>>
fn shm_query_version( &self, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>> + Send + '_>>
Query the version of the MIT-SHM extension.. Read more
Source§fn shm_attach(
&self,
shmseg: Seg,
shmid: u32,
read_only: bool,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn shm_attach( &self, shmseg: Seg, shmid: u32, read_only: bool, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
Attach a System V shared memory segment.. Read more
Source§fn shm_detach(
&self,
shmseg: Seg,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn shm_detach( &self, shmseg: Seg, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
Destroys the specified shared memory segment.. Read more
Source§fn shm_put_image(
&self,
drawable: Drawable,
gc: Gcontext,
total_width: u16,
total_height: u16,
src_x: u16,
src_y: u16,
src_width: u16,
src_height: u16,
dst_x: i16,
dst_y: i16,
depth: u8,
format: u8,
send_event: bool,
shmseg: Seg,
offset: u32,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn shm_put_image( &self, drawable: Drawable, gc: Gcontext, total_width: u16, total_height: u16, src_x: u16, src_y: u16, src_width: u16, src_height: u16, dst_x: i16, dst_y: i16, depth: u8, format: u8, send_event: bool, shmseg: Seg, offset: u32, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
Copy data from the shared memory to the specified drawable.. Read more
Source§fn shm_get_image(
&self,
drawable: Drawable,
x: i16,
y: i16,
width: u16,
height: u16,
plane_mask: u32,
format: u8,
shmseg: Seg,
offset: u32,
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetImageReply>, ConnectionError>> + Send + '_>>
fn shm_get_image( &self, drawable: Drawable, x: i16, y: i16, width: u16, height: u16, plane_mask: u32, format: u8, shmseg: Seg, offset: u32, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetImageReply>, ConnectionError>> + Send + '_>>
Copies data from the specified drawable to the shared memory segment.. Read more
Source§fn shm_create_pixmap(
&self,
pid: Pixmap,
drawable: Drawable,
width: u16,
height: u16,
depth: u8,
shmseg: Seg,
offset: u32,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn shm_create_pixmap( &self, pid: Pixmap, drawable: Drawable, width: u16, height: u16, depth: u8, shmseg: Seg, offset: u32, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
Create a pixmap backed by shared memory.. Read more
Source§fn shm_attach_fd<A>(
&self,
shmseg: Seg,
shm_fd: A,
read_only: bool,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn shm_attach_fd<A>( &self, shmseg: Seg, shm_fd: A, read_only: bool, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
Create a shared memory segment. Read more
Source§fn shm_create_segment(
&self,
shmseg: Seg,
size: u32,
read_only: bool,
) -> Pin<Box<dyn Future<Output = Result<CookieWithFds<'_, Self, CreateSegmentReply>, ConnectionError>> + Send + '_>>
fn shm_create_segment( &self, shmseg: Seg, size: u32, read_only: bool, ) -> Pin<Box<dyn Future<Output = Result<CookieWithFds<'_, Self, CreateSegmentReply>, ConnectionError>> + Send + '_>>
Asks the server to allocate a shared memory segment.. Read more
Source§impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
fn sync_initialize( &self, desired_major_version: u8, desired_minor_version: u8, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, InitializeReply>, ConnectionError>> + Send + '_>>
fn sync_list_system_counters( &self, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, ListSystemCountersReply>, ConnectionError>> + Send + '_>>
fn sync_create_counter( &self, id: Counter, initial_value: Int64, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn sync_destroy_counter( &self, counter: Counter, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn sync_query_counter( &self, counter: Counter, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryCounterReply>, ConnectionError>> + Send + '_>>
fn sync_await_<'c, 'input, 'future>(
&'c self,
wait_list: &'input [Waitcondition],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn sync_change_counter( &self, counter: Counter, amount: Int64, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn sync_set_counter( &self, counter: Counter, value: Int64, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn sync_create_alarm<'c, 'input, 'future>(
&'c self,
id: Alarm,
value_list: &'input CreateAlarmAux,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn sync_change_alarm<'c, 'input, 'future>(
&'c self,
id: Alarm,
value_list: &'input ChangeAlarmAux,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn sync_destroy_alarm( &self, alarm: Alarm, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn sync_query_alarm( &self, alarm: Alarm, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryAlarmReply>, ConnectionError>> + Send + '_>>
fn sync_set_priority( &self, id: u32, priority: i32, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn sync_get_priority( &self, id: u32, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetPriorityReply>, ConnectionError>> + Send + '_>>
fn sync_create_fence( &self, drawable: Drawable, fence: Fence, initially_triggered: bool, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn sync_trigger_fence( &self, fence: Fence, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn sync_reset_fence( &self, fence: Fence, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn sync_destroy_fence( &self, fence: Fence, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn sync_query_fence( &self, fence: Fence, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryFenceReply>, ConnectionError>> + Send + '_>>
fn sync_await_fence<'c, 'input, 'future>(
&'c self,
fence_list: &'input [Fence],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
Source§impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
fn xc_misc_get_version( &self, client_major_version: u16, client_minor_version: u16, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetVersionReply>, ConnectionError>> + Send + '_>>
fn xc_misc_get_xid_range( &self, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetXIDRangeReply>, ConnectionError>> + Send + '_>>
fn xc_misc_get_xid_list( &self, count: u32, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetXIDListReply>, ConnectionError>> + Send + '_>>
Source§impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
Source§fn composite_query_version(
&self,
client_major_version: u32,
client_minor_version: u32,
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>> + Send + '_>>
fn composite_query_version( &self, client_major_version: u32, client_minor_version: u32, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>> + Send + '_>>
Negotiate the version of Composite. Read more
Source§fn composite_redirect_window(
&self,
window: Window,
update: Redirect,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn composite_redirect_window( &self, window: Window, update: Redirect, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
Redirect the hierarchy starting at “window” to off-screen storage.. Read more
Source§fn composite_redirect_subwindows(
&self,
window: Window,
update: Redirect,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn composite_redirect_subwindows( &self, window: Window, update: Redirect, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
Redirect all current and future children of ‘window’. Read more
Source§fn composite_unredirect_window(
&self,
window: Window,
update: Redirect,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn composite_unredirect_window( &self, window: Window, update: Redirect, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
Terminate redirection of the specified window.. Read more
Source§fn composite_unredirect_subwindows(
&self,
window: Window,
update: Redirect,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn composite_unredirect_subwindows( &self, window: Window, update: Redirect, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
Terminate redirection of the specified window’s children. Read more
fn composite_create_region_from_border_clip( &self, region: Region, window: Window, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn composite_name_window_pixmap( &self, window: Window, pixmap: Pixmap, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn composite_get_overlay_window( &self, window: Window, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetOverlayWindowReply>, ConnectionError>> + Send + '_>>
fn composite_release_overlay_window( &self, window: Window, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
Source§impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
fn xevie_query_version( &self, client_major_version: u16, client_minor_version: u16, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>> + Send + '_>>
fn xevie_start( &self, screen: u32, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, StartReply>, ConnectionError>> + Send + '_>>
fn xevie_end( &self, cmap: u32, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, EndReply>, ConnectionError>> + Send + '_>>
fn xevie_send( &self, event: Event, data_type: u32, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, SendReply>, ConnectionError>> + Send + '_>>
fn xevie_select_input( &self, event_mask: u32, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, SelectInputReply>, ConnectionError>> + Send + '_>>
Source§impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
fn xf86dri_query_version( &self, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>> + Send + '_>>
fn xf86dri_query_direct_rendering_capable( &self, screen: u32, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryDirectRenderingCapableReply>, ConnectionError>> + Send + '_>>
fn xf86dri_open_connection( &self, screen: u32, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, OpenConnectionReply>, ConnectionError>> + Send + '_>>
fn xf86dri_close_connection( &self, screen: u32, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xf86dri_get_client_driver_name( &self, screen: u32, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetClientDriverNameReply>, ConnectionError>> + Send + '_>>
fn xf86dri_create_context( &self, screen: u32, visual: u32, context: u32, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, CreateContextReply>, ConnectionError>> + Send + '_>>
fn xf86dri_destroy_context( &self, screen: u32, context: u32, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xf86dri_create_drawable( &self, screen: u32, drawable: u32, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, CreateDrawableReply>, ConnectionError>> + Send + '_>>
fn xf86dri_destroy_drawable( &self, screen: u32, drawable: u32, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xf86dri_get_drawable_info( &self, screen: u32, drawable: u32, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetDrawableInfoReply>, ConnectionError>> + Send + '_>>
fn xf86dri_get_device_info( &self, screen: u32, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetDeviceInfoReply>, ConnectionError>> + Send + '_>>
fn xf86dri_auth_connection( &self, screen: u32, magic: u32, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, AuthConnectionReply>, ConnectionError>> + Send + '_>>
Source§impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
fn xf86vidmode_query_version( &self, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>> + Send + '_>>
fn xf86vidmode_get_mode_line( &self, screen: u16, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetModeLineReply>, ConnectionError>> + Send + '_>>
fn xf86vidmode_mod_mode_line<'c, 'input, 'future>(
&'c self,
screen: u32,
hdisplay: u16,
hsyncstart: u16,
hsyncend: u16,
htotal: u16,
hskew: u16,
vdisplay: u16,
vsyncstart: u16,
vsyncend: u16,
vtotal: u16,
flags: ModeFlag,
private: &'input [u8],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn xf86vidmode_switch_mode( &self, screen: u16, zoom: u16, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xf86vidmode_get_monitor( &self, screen: u16, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetMonitorReply>, ConnectionError>> + Send + '_>>
fn xf86vidmode_lock_mode_switch( &self, screen: u16, lock: u16, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xf86vidmode_get_all_mode_lines( &self, screen: u16, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetAllModeLinesReply>, ConnectionError>> + Send + '_>>
fn xf86vidmode_add_mode_line<'c, 'input, 'future>(
&'c self,
screen: u32,
dotclock: Dotclock,
hdisplay: u16,
hsyncstart: u16,
hsyncend: u16,
htotal: u16,
hskew: u16,
vdisplay: u16,
vsyncstart: u16,
vsyncend: u16,
vtotal: u16,
flags: ModeFlag,
after_dotclock: Dotclock,
after_hdisplay: u16,
after_hsyncstart: u16,
after_hsyncend: u16,
after_htotal: u16,
after_hskew: u16,
after_vdisplay: u16,
after_vsyncstart: u16,
after_vsyncend: u16,
after_vtotal: u16,
after_flags: ModeFlag,
private: &'input [u8],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn xf86vidmode_delete_mode_line<'c, 'input, 'future>(
&'c self,
screen: u32,
dotclock: Dotclock,
hdisplay: u16,
hsyncstart: u16,
hsyncend: u16,
htotal: u16,
hskew: u16,
vdisplay: u16,
vsyncstart: u16,
vsyncend: u16,
vtotal: u16,
flags: ModeFlag,
private: &'input [u8],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn xf86vidmode_validate_mode_line<'c, 'input, 'future>(
&'c self,
screen: u32,
dotclock: Dotclock,
hdisplay: u16,
hsyncstart: u16,
hsyncend: u16,
htotal: u16,
hskew: u16,
vdisplay: u16,
vsyncstart: u16,
vsyncend: u16,
vtotal: u16,
flags: ModeFlag,
private: &'input [u8],
) -> Pin<Box<dyn Future<Output = Result<Cookie<'c, Self, ValidateModeLineReply>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn xf86vidmode_switch_to_mode<'c, 'input, 'future>(
&'c self,
screen: u32,
dotclock: Dotclock,
hdisplay: u16,
hsyncstart: u16,
hsyncend: u16,
htotal: u16,
hskew: u16,
vdisplay: u16,
vsyncstart: u16,
vsyncend: u16,
vtotal: u16,
flags: ModeFlag,
private: &'input [u8],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn xf86vidmode_get_view_port( &self, screen: u16, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetViewPortReply>, ConnectionError>> + Send + '_>>
fn xf86vidmode_set_view_port( &self, screen: u16, x: u32, y: u32, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xf86vidmode_get_dot_clocks( &self, screen: u16, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetDotClocksReply>, ConnectionError>> + Send + '_>>
fn xf86vidmode_set_client_version( &self, major: u16, minor: u16, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xf86vidmode_set_gamma( &self, screen: u16, red: u32, green: u32, blue: u32, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xf86vidmode_get_gamma( &self, screen: u16, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetGammaReply>, ConnectionError>> + Send + '_>>
fn xf86vidmode_get_gamma_ramp( &self, screen: u16, size: u16, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetGammaRampReply>, ConnectionError>> + Send + '_>>
fn xf86vidmode_set_gamma_ramp<'c, 'input, 'future>(
&'c self,
screen: u16,
size: u16,
red: &'input [u16],
green: &'input [u16],
blue: &'input [u16],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn xf86vidmode_get_gamma_ramp_size( &self, screen: u16, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetGammaRampSizeReply>, ConnectionError>> + Send + '_>>
fn xf86vidmode_get_permissions( &self, screen: u16, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetPermissionsReply>, ConnectionError>> + Send + '_>>
Source§impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
fn xfixes_query_version( &self, client_major_version: u32, client_minor_version: u32, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>> + Send + '_>>
fn xfixes_change_save_set( &self, mode: SaveSetMode, target: SaveSetTarget, map: SaveSetMapping, window: Window, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xfixes_select_selection_input( &self, window: Window, selection: Atom, event_mask: SelectionEventMask, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xfixes_select_cursor_input( &self, window: Window, event_mask: CursorNotifyMask, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xfixes_get_cursor_image( &self, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetCursorImageReply>, ConnectionError>> + Send + '_>>
fn xfixes_create_region<'c, 'input, 'future>(
&'c self,
region: Region,
rectangles: &'input [Rectangle],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn xfixes_create_region_from_bitmap( &self, region: Region, bitmap: Pixmap, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xfixes_create_region_from_window( &self, region: Region, window: Window, kind: SK, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xfixes_create_region_from_gc( &self, region: Region, gc: Gcontext, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xfixes_create_region_from_picture( &self, region: Region, picture: Picture, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xfixes_destroy_region( &self, region: Region, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xfixes_set_region<'c, 'input, 'future>(
&'c self,
region: Region,
rectangles: &'input [Rectangle],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn xfixes_copy_region( &self, source: Region, destination: Region, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xfixes_union_region( &self, source1: Region, source2: Region, destination: Region, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xfixes_intersect_region( &self, source1: Region, source2: Region, destination: Region, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xfixes_subtract_region( &self, source1: Region, source2: Region, destination: Region, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xfixes_invert_region( &self, source: Region, bounds: Rectangle, destination: Region, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xfixes_translate_region( &self, region: Region, dx: i16, dy: i16, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xfixes_region_extents( &self, source: Region, destination: Region, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xfixes_fetch_region( &self, region: Region, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, FetchRegionReply>, ConnectionError>> + Send + '_>>
fn xfixes_set_gc_clip_region<A>( &self, gc: Gcontext, region: A, x_origin: i16, y_origin: i16, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xfixes_set_window_shape_region<A>( &self, dest: Window, dest_kind: SK, x_offset: i16, y_offset: i16, region: A, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xfixes_set_picture_clip_region<A>( &self, picture: Picture, region: A, x_origin: i16, y_origin: i16, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xfixes_set_cursor_name<'c, 'input, 'future>(
&'c self,
cursor: Cursor,
name: &'input [u8],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn xfixes_get_cursor_name( &self, cursor: Cursor, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetCursorNameReply>, ConnectionError>> + Send + '_>>
fn xfixes_get_cursor_image_and_name( &self, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetCursorImageAndNameReply>, ConnectionError>> + Send + '_>>
fn xfixes_change_cursor( &self, source: Cursor, destination: Cursor, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xfixes_change_cursor_by_name<'c, 'input, 'future>(
&'c self,
src: Cursor,
name: &'input [u8],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn xfixes_expand_region( &self, source: Region, destination: Region, left: u16, right: u16, top: u16, bottom: u16, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xfixes_hide_cursor( &self, window: Window, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xfixes_show_cursor( &self, window: Window, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xfixes_create_pointer_barrier<'c, 'input, 'future>(
&'c self,
barrier: Barrier,
window: Window,
x1: u16,
y1: u16,
x2: u16,
y2: u16,
directions: BarrierDirections,
devices: &'input [u16],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn xfixes_delete_pointer_barrier( &self, barrier: Barrier, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
Source§fn xfixes_set_client_disconnect_mode(
&self,
disconnect_mode: ClientDisconnectFlags,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xfixes_set_client_disconnect_mode( &self, disconnect_mode: ClientDisconnectFlags, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
Sets the disconnect mode for the client.. Read more
fn xfixes_get_client_disconnect_mode( &self, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetClientDisconnectModeReply>, ConnectionError>> + Send + '_>>
Source§impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
fn xinerama_query_version( &self, major: u8, minor: u8, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>> + Send + '_>>
fn xinerama_get_state( &self, window: Window, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetStateReply>, ConnectionError>> + Send + '_>>
fn xinerama_get_screen_count( &self, window: Window, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetScreenCountReply>, ConnectionError>> + Send + '_>>
fn xinerama_get_screen_size( &self, window: Window, screen: u32, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetScreenSizeReply>, ConnectionError>> + Send + '_>>
fn xinerama_is_active( &self, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, IsActiveReply>, ConnectionError>> + Send + '_>>
fn xinerama_query_screens( &self, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryScreensReply>, ConnectionError>> + Send + '_>>
Source§impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
fn xinput_get_extension_version<'c, 'input, 'future>(
&'c self,
name: &'input [u8],
) -> Pin<Box<dyn Future<Output = Result<Cookie<'c, Self, GetExtensionVersionReply>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn xinput_list_input_devices( &self, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, ListInputDevicesReply>, ConnectionError>> + Send + '_>>
fn xinput_open_device( &self, device_id: u8, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, OpenDeviceReply>, ConnectionError>> + Send + '_>>
fn xinput_close_device( &self, device_id: u8, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xinput_set_device_mode( &self, device_id: u8, mode: ValuatorMode, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, SetDeviceModeReply>, ConnectionError>> + Send + '_>>
fn xinput_select_extension_event<'c, 'input, 'future>(
&'c self,
window: Window,
classes: &'input [EventClass],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn xinput_get_selected_extension_events( &self, window: Window, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetSelectedExtensionEventsReply>, ConnectionError>> + Send + '_>>
fn xinput_change_device_dont_propagate_list<'c, 'input, 'future>(
&'c self,
window: Window,
mode: PropagateMode,
classes: &'input [EventClass],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn xinput_get_device_dont_propagate_list( &self, window: Window, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetDeviceDontPropagateListReply>, ConnectionError>> + Send + '_>>
fn xinput_get_device_motion_events<A>( &self, start: Timestamp, stop: A, device_id: u8, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetDeviceMotionEventsReply>, ConnectionError>> + Send + '_>>
fn xinput_change_keyboard_device( &self, device_id: u8, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, ChangeKeyboardDeviceReply>, ConnectionError>> + Send + '_>>
fn xinput_change_pointer_device( &self, x_axis: u8, y_axis: u8, device_id: u8, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, ChangePointerDeviceReply>, ConnectionError>> + Send + '_>>
fn xinput_grab_device<'c, 'input, 'future, A>( &'c self, grab_window: Window, time: A, this_device_mode: GrabMode, other_device_mode: GrabMode, owner_events: bool, device_id: u8, classes: &'input [EventClass], ) -> Pin<Box<dyn Future<Output = Result<Cookie<'c, Self, GrabDeviceReply>, ConnectionError>> + Send + 'future>>
fn xinput_ungrab_device<A>( &self, time: A, device_id: u8, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xinput_grab_device_key<'c, 'input, 'future, A, B>( &'c self, grab_window: Window, modifiers: ModMask, modifier_device: A, grabbed_device: u8, key: B, this_device_mode: GrabMode, other_device_mode: GrabMode, owner_events: bool, classes: &'input [EventClass], ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>
fn xinput_ungrab_device_key<A, B>( &self, grab_window: Window, modifiers: ModMask, modifier_device: A, key: B, grabbed_device: u8, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xinput_allow_device_events<A>( &self, time: A, mode: DeviceInputMode, device_id: u8, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xinput_get_device_focus( &self, device_id: u8, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetDeviceFocusReply>, ConnectionError>> + Send + '_>>
fn xinput_set_device_focus<A, B>( &self, focus: A, time: B, revert_to: InputFocus, device_id: u8, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xinput_get_feedback_control( &self, device_id: u8, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetFeedbackControlReply>, ConnectionError>> + Send + '_>>
fn xinput_change_feedback_control( &self, mask: ChangeFeedbackControlMask, device_id: u8, feedback_id: u8, feedback: FeedbackCtl, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xinput_get_device_key_mapping( &self, device_id: u8, first_keycode: KeyCode, count: u8, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetDeviceKeyMappingReply>, ConnectionError>> + Send + '_>>
fn xinput_change_device_key_mapping<'c, 'input, 'future>(
&'c self,
device_id: u8,
first_keycode: KeyCode,
keysyms_per_keycode: u8,
keycode_count: u8,
keysyms: &'input [Keysym],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn xinput_get_device_modifier_mapping( &self, device_id: u8, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetDeviceModifierMappingReply>, ConnectionError>> + Send + '_>>
fn xinput_set_device_modifier_mapping<'c, 'input, 'future>(
&'c self,
device_id: u8,
keymaps: &'input [u8],
) -> Pin<Box<dyn Future<Output = Result<Cookie<'c, Self, SetDeviceModifierMappingReply>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn xinput_query_device_state( &self, device_id: u8, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryDeviceStateReply>, ConnectionError>> + Send + '_>>
fn xinput_device_bell( &self, device_id: u8, feedback_id: u8, feedback_class: u8, percent: i8, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xinput_set_device_valuators<'c, 'input, 'future>(
&'c self,
device_id: u8,
first_valuator: u8,
valuators: &'input [i32],
) -> Pin<Box<dyn Future<Output = Result<Cookie<'c, Self, SetDeviceValuatorsReply>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn xinput_get_device_control( &self, control_id: DeviceControl, device_id: u8, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetDeviceControlReply>, ConnectionError>> + Send + '_>>
fn xinput_change_device_control( &self, control_id: DeviceControl, device_id: u8, control: DeviceCtl, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, ChangeDeviceControlReply>, ConnectionError>> + Send + '_>>
fn xinput_list_device_properties( &self, device_id: u8, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, ListDevicePropertiesReply>, ConnectionError>> + Send + '_>>
fn xinput_change_device_property<'c, 'input, 'future>(
&'c self,
property: Atom,
type_: Atom,
device_id: u8,
mode: PropMode,
num_items: u32,
items: &'input ChangeDevicePropertyAux,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn xinput_delete_device_property( &self, property: Atom, device_id: u8, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xinput_get_device_property( &self, property: Atom, type_: Atom, offset: u32, len: u32, device_id: u8, delete: bool, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetDevicePropertyReply>, ConnectionError>> + Send + '_>>
fn xinput_xi_query_pointer<A>( &self, window: Window, deviceid: A, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, XIQueryPointerReply>, ConnectionError>> + Send + '_>>
fn xinput_xi_warp_pointer<A>( &self, src_win: Window, dst_win: Window, src_x: Fp1616, src_y: Fp1616, src_width: u16, src_height: u16, dst_x: Fp1616, dst_y: Fp1616, deviceid: A, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xinput_xi_change_cursor<A>( &self, window: Window, cursor: Cursor, deviceid: A, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xinput_xi_change_hierarchy<'c, 'input, 'future>(
&'c self,
changes: &'input [HierarchyChange],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn xinput_xi_set_client_pointer<A>( &self, window: Window, deviceid: A, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xinput_xi_get_client_pointer( &self, window: Window, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, XIGetClientPointerReply>, ConnectionError>> + Send + '_>>
fn xinput_xi_select_events<'c, 'input, 'future>(
&'c self,
window: Window,
masks: &'input [EventMask],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn xinput_xi_query_version( &self, major_version: u16, minor_version: u16, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, XIQueryVersionReply>, ConnectionError>> + Send + '_>>
fn xinput_xi_query_device<A>( &self, deviceid: A, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, XIQueryDeviceReply>, ConnectionError>> + Send + '_>>
fn xinput_xi_set_focus<A, B>( &self, window: Window, time: A, deviceid: B, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xinput_xi_get_focus<A>( &self, deviceid: A, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, XIGetFocusReply>, ConnectionError>> + Send + '_>>
fn xinput_xi_grab_device<'c, 'input, 'future, A, B>( &'c self, window: Window, time: A, cursor: Cursor, deviceid: B, mode: GrabMode, paired_device_mode: GrabMode, owner_events: GrabOwner, mask: &'input [u32], ) -> Pin<Box<dyn Future<Output = Result<Cookie<'c, Self, XIGrabDeviceReply>, ConnectionError>> + Send + 'future>>
fn xinput_xi_ungrab_device<A, B>( &self, time: A, deviceid: B, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xinput_xi_allow_events<A, B>( &self, time: A, deviceid: B, event_mode: EventMode, touchid: u32, grab_window: Window, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xinput_xi_passive_grab_device<'c, 'input, 'future, A, B>( &'c self, time: A, grab_window: Window, cursor: Cursor, detail: u32, deviceid: B, grab_type: GrabType, grab_mode: GrabMode22, paired_device_mode: GrabMode, owner_events: GrabOwner, mask: &'input [u32], modifiers: &'input [u32], ) -> Pin<Box<dyn Future<Output = Result<Cookie<'c, Self, XIPassiveGrabDeviceReply>, ConnectionError>> + Send + 'future>>
fn xinput_xi_passive_ungrab_device<'c, 'input, 'future, A>( &'c self, grab_window: Window, detail: u32, deviceid: A, grab_type: GrabType, modifiers: &'input [u32], ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>
fn xinput_xi_list_properties<A>( &self, deviceid: A, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, XIListPropertiesReply>, ConnectionError>> + Send + '_>>
fn xinput_xi_change_property<'c, 'input, 'future, A>( &'c self, deviceid: A, mode: PropMode, property: Atom, type_: Atom, num_items: u32, items: &'input XIChangePropertyAux, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>
fn xinput_xi_delete_property<A>( &self, deviceid: A, property: Atom, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xinput_xi_get_property<A>( &self, deviceid: A, delete: bool, property: Atom, type_: Atom, offset: u32, len: u32, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, XIGetPropertyReply>, ConnectionError>> + Send + '_>>
fn xinput_xi_get_selected_events( &self, window: Window, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, XIGetSelectedEventsReply>, ConnectionError>> + Send + '_>>
fn xinput_xi_barrier_release_pointer<'c, 'input, 'future>(
&'c self,
barriers: &'input [BarrierReleasePointerInfo],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn xinput_send_extension_event<'c, 'input, 'future>(
&'c self,
destination: Window,
device_id: u8,
propagate: bool,
events: &'input [EventForSend],
classes: &'input [EventClass],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
Source§impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
fn xkb_use_extension( &self, wanted_major: u16, wanted_minor: u16, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, UseExtensionReply>, ConnectionError>> + Send + '_>>
fn xkb_select_events<'c, 'input, 'future>(
&'c self,
device_spec: DeviceSpec,
clear: EventType,
select_all: EventType,
affect_map: MapPart,
map: MapPart,
details: &'input SelectEventsAux,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn xkb_bell( &self, device_spec: DeviceSpec, bell_class: BellClassSpec, bell_id: IDSpec, percent: i8, force_sound: bool, event_only: bool, pitch: i16, duration: i16, name: Atom, window: Window, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xkb_get_state( &self, device_spec: DeviceSpec, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetStateReply>, ConnectionError>> + Send + '_>>
fn xkb_latch_lock_state( &self, device_spec: DeviceSpec, affect_mod_locks: ModMask, mod_locks: ModMask, lock_group: bool, group_lock: Group, affect_mod_latches: ModMask, latch_group: bool, group_latch: u16, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xkb_get_controls( &self, device_spec: DeviceSpec, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetControlsReply>, ConnectionError>> + Send + '_>>
fn xkb_set_controls<'c, 'input, 'future>(
&'c self,
device_spec: DeviceSpec,
affect_internal_real_mods: ModMask,
internal_real_mods: ModMask,
affect_ignore_lock_real_mods: ModMask,
ignore_lock_real_mods: ModMask,
affect_internal_virtual_mods: VMod,
internal_virtual_mods: VMod,
affect_ignore_lock_virtual_mods: VMod,
ignore_lock_virtual_mods: VMod,
mouse_keys_dflt_btn: u8,
groups_wrap: u8,
access_x_options: AXOption,
affect_enabled_controls: BoolCtrl,
enabled_controls: BoolCtrl,
change_controls: Control,
repeat_delay: u16,
repeat_interval: u16,
slow_keys_delay: u16,
debounce_delay: u16,
mouse_keys_delay: u16,
mouse_keys_interval: u16,
mouse_keys_time_to_max: u16,
mouse_keys_max_speed: u16,
mouse_keys_curve: i16,
access_x_timeout: u16,
access_x_timeout_mask: BoolCtrl,
access_x_timeout_values: BoolCtrl,
access_x_timeout_options_mask: AXOption,
access_x_timeout_options_values: AXOption,
per_key_repeat: &'input [u8; 32],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn xkb_get_map( &self, device_spec: DeviceSpec, full: MapPart, partial: MapPart, first_type: u8, n_types: u8, first_key_sym: Keycode, n_key_syms: u8, first_key_action: Keycode, n_key_actions: u8, first_key_behavior: Keycode, n_key_behaviors: u8, virtual_mods: VMod, first_key_explicit: Keycode, n_key_explicit: u8, first_mod_map_key: Keycode, n_mod_map_keys: u8, first_v_mod_map_key: Keycode, n_v_mod_map_keys: u8, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetMapReply>, ConnectionError>> + Send + '_>>
fn xkb_set_map<'c, 'input, 'future>(
&'c self,
device_spec: DeviceSpec,
flags: SetMapFlags,
min_key_code: Keycode,
max_key_code: Keycode,
first_type: u8,
n_types: u8,
first_key_sym: Keycode,
n_key_syms: u8,
total_syms: u16,
first_key_action: Keycode,
n_key_actions: u8,
total_actions: u16,
first_key_behavior: Keycode,
n_key_behaviors: u8,
total_key_behaviors: u8,
first_key_explicit: Keycode,
n_key_explicit: u8,
total_key_explicit: u8,
first_mod_map_key: Keycode,
n_mod_map_keys: u8,
total_mod_map_keys: u8,
first_v_mod_map_key: Keycode,
n_v_mod_map_keys: u8,
total_v_mod_map_keys: u8,
virtual_mods: VMod,
values: &'input SetMapAux,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn xkb_get_compat_map( &self, device_spec: DeviceSpec, groups: SetOfGroup, get_all_si: bool, first_si: u16, n_si: u16, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetCompatMapReply>, ConnectionError>> + Send + '_>>
fn xkb_set_compat_map<'c, 'input, 'future>(
&'c self,
device_spec: DeviceSpec,
recompute_actions: bool,
truncate_si: bool,
groups: SetOfGroup,
first_si: u16,
si: &'input [SymInterpret],
group_maps: &'input [ModDef],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn xkb_get_indicator_state( &self, device_spec: DeviceSpec, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetIndicatorStateReply>, ConnectionError>> + Send + '_>>
fn xkb_get_indicator_map( &self, device_spec: DeviceSpec, which: u32, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetIndicatorMapReply>, ConnectionError>> + Send + '_>>
fn xkb_set_indicator_map<'c, 'input, 'future>(
&'c self,
device_spec: DeviceSpec,
which: u32,
maps: &'input [IndicatorMap],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn xkb_get_named_indicator<A>( &self, device_spec: DeviceSpec, led_class: LedClass, led_id: A, indicator: Atom, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetNamedIndicatorReply>, ConnectionError>> + Send + '_>>
fn xkb_set_named_indicator<A>( &self, device_spec: DeviceSpec, led_class: LedClass, led_id: A, indicator: Atom, set_state: bool, on: bool, set_map: bool, create_map: bool, map_flags: IMFlag, map_which_groups: IMGroupsWhich, map_groups: SetOfGroups, map_which_mods: IMModsWhich, map_real_mods: ModMask, map_vmods: VMod, map_ctrls: BoolCtrl, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xkb_get_names( &self, device_spec: DeviceSpec, which: NameDetail, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetNamesReply>, ConnectionError>> + Send + '_>>
fn xkb_set_names<'c, 'input, 'future>(
&'c self,
device_spec: DeviceSpec,
virtual_mods: VMod,
first_type: u8,
n_types: u8,
first_kt_levelt: u8,
n_kt_levels: u8,
indicators: u32,
group_names: SetOfGroup,
n_radio_groups: u8,
first_key: Keycode,
n_keys: u8,
n_key_aliases: u8,
total_kt_level_names: u16,
values: &'input SetNamesAux,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn xkb_per_client_flags( &self, device_spec: DeviceSpec, change: PerClientFlag, value: PerClientFlag, ctrls_to_change: BoolCtrl, auto_ctrls: BoolCtrl, auto_ctrls_values: BoolCtrl, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, PerClientFlagsReply>, ConnectionError>> + Send + '_>>
fn xkb_list_components( &self, device_spec: DeviceSpec, max_names: u16, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, ListComponentsReply>, ConnectionError>> + Send + '_>>
fn xkb_get_kbd_by_name( &self, device_spec: DeviceSpec, need: GBNDetail, want: GBNDetail, load: bool, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetKbdByNameReply>, ConnectionError>> + Send + '_>>
fn xkb_get_device_info<A>( &self, device_spec: DeviceSpec, wanted: XIFeature, all_buttons: bool, first_button: u8, n_buttons: u8, led_class: LedClass, led_id: A, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetDeviceInfoReply>, ConnectionError>> + Send + '_>>
fn xkb_set_device_info<'c, 'input, 'future>(
&'c self,
device_spec: DeviceSpec,
first_btn: u8,
change: XIFeature,
btn_actions: &'input [Action],
leds: &'input [DeviceLedInfo],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn xkb_set_debugging_flags<'c, 'input, 'future>(
&'c self,
affect_flags: u32,
flags: u32,
affect_ctrls: u32,
ctrls: u32,
message: &'input [String8],
) -> Pin<Box<dyn Future<Output = Result<Cookie<'c, Self, SetDebuggingFlagsReply>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
Source§impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
fn xprint_print_query_version( &self, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, PrintQueryVersionReply>, ConnectionError>> + Send + '_>>
fn xprint_print_get_printer_list<'c, 'input, 'future>(
&'c self,
printer_name: &'input [String8],
locale: &'input [String8],
) -> Pin<Box<dyn Future<Output = Result<Cookie<'c, Self, PrintGetPrinterListReply>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn xprint_print_rehash_printer_list( &self, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xprint_create_context<'c, 'input, 'future>(
&'c self,
context_id: u32,
printer_name: &'input [String8],
locale: &'input [String8],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn xprint_print_set_context( &self, context: u32, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xprint_print_get_context( &self, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, PrintGetContextReply>, ConnectionError>> + Send + '_>>
fn xprint_print_destroy_context( &self, context: u32, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xprint_print_get_screen_of_context( &self, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, PrintGetScreenOfContextReply>, ConnectionError>> + Send + '_>>
fn xprint_print_start_job( &self, output_mode: u8, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xprint_print_end_job( &self, cancel: bool, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xprint_print_start_doc( &self, driver_mode: u8, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xprint_print_end_doc( &self, cancel: bool, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xprint_print_put_document_data<'c, 'input, 'future>(
&'c self,
drawable: Drawable,
data: &'input [u8],
doc_format: &'input [String8],
options: &'input [String8],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn xprint_print_get_document_data( &self, context: Pcontext, max_bytes: u32, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, PrintGetDocumentDataReply>, ConnectionError>> + Send + '_>>
fn xprint_print_start_page( &self, window: Window, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xprint_print_end_page( &self, cancel: bool, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xprint_print_select_input( &self, context: Pcontext, event_mask: u32, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xprint_print_input_selected( &self, context: Pcontext, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, PrintInputSelectedReply>, ConnectionError>> + Send + '_>>
fn xprint_print_get_attributes( &self, context: Pcontext, pool: u8, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, PrintGetAttributesReply>, ConnectionError>> + Send + '_>>
fn xprint_print_get_one_attributes<'c, 'input, 'future>(
&'c self,
context: Pcontext,
pool: u8,
name: &'input [String8],
) -> Pin<Box<dyn Future<Output = Result<Cookie<'c, Self, PrintGetOneAttributesReply>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn xprint_print_set_attributes<'c, 'input, 'future>(
&'c self,
context: Pcontext,
string_len: u32,
pool: u8,
rule: u8,
attributes: &'input [String8],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn xprint_print_get_page_dimensions( &self, context: Pcontext, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, PrintGetPageDimensionsReply>, ConnectionError>> + Send + '_>>
fn xprint_print_query_screens( &self, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, PrintQueryScreensReply>, ConnectionError>> + Send + '_>>
fn xprint_print_set_image_resolution( &self, context: Pcontext, image_resolution: u16, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, PrintSetImageResolutionReply>, ConnectionError>> + Send + '_>>
fn xprint_print_get_image_resolution( &self, context: Pcontext, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, PrintGetImageResolutionReply>, ConnectionError>> + Send + '_>>
Source§impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
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 + '_>>
Source§impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
fn xtest_get_version( &self, major_version: u8, minor_version: u16, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetVersionReply>, ConnectionError>> + Send + '_>>
fn xtest_compare_cursor( &self, window: Window, cursor: Cursor, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, CompareCursorReply>, ConnectionError>> + Send + '_>>
fn xtest_fake_input( &self, type_: u8, detail: u8, time: u32, root: Window, root_x: i16, root_y: i16, deviceid: u8, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xtest_grab_control( &self, impervious: bool, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
Source§impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
Source§fn damage_query_version(
&self,
client_major_version: u32,
client_minor_version: u32,
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>> + Send + '_>>
fn damage_query_version( &self, client_major_version: u32, client_minor_version: u32, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>> + Send + '_>>
Negotiate the version of the DAMAGE extension. Read more
Source§fn damage_create(
&self,
damage: Damage,
drawable: Drawable,
level: ReportLevel,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn damage_create( &self, damage: Damage, drawable: Drawable, level: ReportLevel, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
Creates a Damage object to monitor changes to a drawable.. Read more
Source§fn damage_destroy(
&self,
damage: Damage,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn damage_destroy( &self, damage: Damage, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
Destroys a previously created Damage object.. Read more
Source§fn damage_subtract<A, B>(
&self,
damage: Damage,
repair: A,
parts: B,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn damage_subtract<A, B>( &self, damage: Damage, repair: A, parts: B, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
Remove regions from a previously created Damage object.. Read more
Source§fn damage_add(
&self,
drawable: Drawable,
region: Region,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn damage_add( &self, drawable: Drawable, region: Region, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
Add a region to a previously created Damage object.. Read more
Source§impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
fn xv_query_extension( &self, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryExtensionReply>, ConnectionError>> + Send + '_>>
fn xv_query_adaptors( &self, window: Window, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryAdaptorsReply>, ConnectionError>> + Send + '_>>
fn xv_query_encodings( &self, port: Port, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryEncodingsReply>, ConnectionError>> + Send + '_>>
fn xv_grab_port<A>( &self, port: Port, time: A, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GrabPortReply>, ConnectionError>> + Send + '_>>
fn xv_ungrab_port<A>( &self, port: Port, time: A, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xv_put_video( &self, port: Port, drawable: Drawable, gc: Gcontext, vid_x: i16, vid_y: i16, vid_w: u16, vid_h: u16, drw_x: i16, drw_y: i16, drw_w: u16, drw_h: u16, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xv_put_still( &self, port: Port, drawable: Drawable, gc: Gcontext, vid_x: i16, vid_y: i16, vid_w: u16, vid_h: u16, drw_x: i16, drw_y: i16, drw_w: u16, drw_h: u16, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xv_get_video( &self, port: Port, drawable: Drawable, gc: Gcontext, vid_x: i16, vid_y: i16, vid_w: u16, vid_h: u16, drw_x: i16, drw_y: i16, drw_w: u16, drw_h: u16, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xv_get_still( &self, port: Port, drawable: Drawable, gc: Gcontext, vid_x: i16, vid_y: i16, vid_w: u16, vid_h: u16, drw_x: i16, drw_y: i16, drw_w: u16, drw_h: u16, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xv_stop_video( &self, port: Port, drawable: Drawable, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xv_select_video_notify( &self, drawable: Drawable, onoff: bool, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xv_select_port_notify( &self, port: Port, onoff: bool, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xv_query_best_size( &self, port: Port, vid_w: u16, vid_h: u16, drw_w: u16, drw_h: u16, motion: bool, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryBestSizeReply>, ConnectionError>> + Send + '_>>
fn xv_set_port_attribute( &self, port: Port, attribute: Atom, value: i32, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xv_get_port_attribute( &self, port: Port, attribute: Atom, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetPortAttributeReply>, ConnectionError>> + Send + '_>>
fn xv_query_port_attributes( &self, port: Port, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryPortAttributesReply>, ConnectionError>> + Send + '_>>
fn xv_list_image_formats( &self, port: Port, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, ListImageFormatsReply>, ConnectionError>> + Send + '_>>
fn xv_query_image_attributes( &self, port: Port, id: u32, width: u16, height: u16, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryImageAttributesReply>, ConnectionError>> + Send + '_>>
fn xv_put_image<'c, 'input, 'future>(
&'c self,
port: Port,
drawable: Drawable,
gc: Gcontext,
id: u32,
src_x: i16,
src_y: i16,
src_w: u16,
src_h: u16,
drw_x: i16,
drw_y: i16,
drw_w: u16,
drw_h: u16,
width: u16,
height: u16,
data: &'input [u8],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn xv_shm_put_image( &self, port: Port, drawable: Drawable, gc: Gcontext, shmseg: Seg, id: u32, offset: u32, src_x: i16, src_y: i16, src_w: u16, src_h: u16, drw_x: i16, drw_y: i16, drw_w: u16, drw_h: u16, width: u16, height: u16, send_event: u8, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
Source§impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
fn xvmc_query_version( &self, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>> + Send + '_>>
fn xvmc_list_surface_types( &self, port_id: Port, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, ListSurfaceTypesReply>, ConnectionError>> + Send + '_>>
fn xvmc_create_context( &self, context_id: Context, port_id: Port, surface_id: Surface, width: u16, height: u16, flags: u32, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, CreateContextReply>, ConnectionError>> + Send + '_>>
fn xvmc_destroy_context( &self, context_id: Context, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xvmc_create_surface( &self, surface_id: Surface, context_id: Context, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, CreateSurfaceReply>, ConnectionError>> + Send + '_>>
fn xvmc_destroy_surface( &self, surface_id: Surface, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xvmc_create_subpicture( &self, subpicture_id: Subpicture, context: Context, xvimage_id: u32, width: u16, height: u16, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, CreateSubpictureReply>, ConnectionError>> + Send + '_>>
fn xvmc_destroy_subpicture( &self, subpicture_id: Subpicture, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn xvmc_list_subpicture_types( &self, port_id: Port, surface_id: Surface, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, ListSubpictureTypesReply>, ConnectionError>> + Send + '_>>
Source§impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
impl<C> ConnectionExt for Cwhere
C: RequestConnection + ?Sized,
Source§fn dbe_query_version(
&self,
major_version: u8,
minor_version: u8,
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>> + Send + '_>>
fn dbe_query_version( &self, major_version: u8, minor_version: u8, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>> + Send + '_>>
Queries the version of this extension. Read more
Source§fn dbe_allocate_back_buffer(
&self,
window: Window,
buffer: BackBuffer,
swap_action: u8,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn dbe_allocate_back_buffer( &self, window: Window, buffer: BackBuffer, swap_action: u8, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
Allocates a back buffer. Read more
Source§fn dbe_deallocate_back_buffer(
&self,
buffer: BackBuffer,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn dbe_deallocate_back_buffer( &self, buffer: BackBuffer, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
Deallocates a back buffer. Read more
Source§fn dbe_swap_buffers<'c, 'input, 'future>(
&'c self,
actions: &'input [SwapInfo],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn dbe_swap_buffers<'c, 'input, 'future>(
&'c self,
actions: &'input [SwapInfo],
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'c, Self>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
Swaps front and back buffers. Read more
Source§fn dbe_begin_idiom(
&self,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn dbe_begin_idiom( &self, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
Begins a logical swap block. Read more
Source§fn dbe_end_idiom(
&self,
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
fn dbe_end_idiom( &self, ) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
Ends a logical swap block.
Source§fn dbe_get_visual_info<'c, 'input, 'future>(
&'c self,
drawables: &'input [Drawable],
) -> Pin<Box<dyn Future<Output = Result<Cookie<'c, Self, GetVisualInfoReply>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
fn dbe_get_visual_info<'c, 'input, 'future>(
&'c self,
drawables: &'input [Drawable],
) -> Pin<Box<dyn Future<Output = Result<Cookie<'c, Self, GetVisualInfoReply>, ConnectionError>> + Send + 'future>>where
'c: 'future,
'input: 'future,
Requests visuals that support double buffering.
Source§fn dbe_get_back_buffer_attributes(
&self,
buffer: BackBuffer,
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetBackBufferAttributesReply>, ConnectionError>> + Send + '_>>
fn dbe_get_back_buffer_attributes( &self, buffer: BackBuffer, ) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetBackBufferAttributesReply>, ConnectionError>> + Send + '_>>
Gets back buffer attributes. Read more