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§
- Discard
Mode - Variants describing which responses to a request should be discarded.
- Reply
OrError - Either a raw reply or a raw error response to an X11 request.
- Request
Kind - Does a request have a response?
Traits§
- Connection
- A connection to an X11 server.
- Request
Connection - 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§
- BufWith
Fds - A combination of a buffer and a list of file descriptors.
- Event
AndSeq Number - An event and its sequence number.
- RawEvent
AndSeq Number - The raw bytes of an event and its sequence number.
- Sequence
Number - Number type used for referring to things that were sent to the server in responses from the server.