Module connection

Source
Expand description

Generic connection-related types and definitions.

This module contains the Connection trait and related definitions. The code in this module is used by each concrete implementation of the X11 protocol.

Enums§

DiscardMode
Variants describing which responses to a request should be discarded.
ReplyOrError
Either a raw reply or a raw error response to an X11 request.
RequestKind
Does a request have a response?

Traits§

Connection
A connection to an X11 server.
RequestConnection
A connection to an X11 server for sending requests.

Functions§

compute_length_field
Check the request length and use BIG-REQUESTS if necessary.

Type Aliases§

BufWithFds
A combination of a buffer and a list of file descriptors.
EventAndSeqNumber
An event and its sequence number.
RawEventAndSeqNumber
The raw bytes of an event and its sequence number.
SequenceNumber
Number type used for referring to things that were sent to the server in responses from the server.