Crate x11rb_protocol
source ·Expand description
X11 rust bindings.
This crate provides a representation of the X11 protocol in Rust. With this protocol, raw X11 bytes can be parsed into a structured representation or raw bytes can be produces.
This protocol does not do any I/O. If you need an X11 client library, look at https://docs.rs/x11rb/latest/x11rb/.
Modules
- Contains utilities for connection to the X11 server.
- Helper types for implementing an X11 client.
- This module contains the current mess that is error handling.
- A mechanism for allocating XIDs.
- Collects X11 data into “packets” to be parsed by a display.
- Utilities for parsing X11 display strings.
- Bindings to the X11 protocol.
- X11 resource manager library.
- Helpers for the generated code
- Utility functions for X11 things.
- Helpers for working with
~/.Xauthority
.
Structs
- A simple wrapper around RawFd that closes the fd on drop.
Enums
- Variants describing which responses to a request should be discarded.
Type Definitions
- A combination of a buffer and a list of file descriptors.
- A buffer that is logically continuous, but presented in a number of pieces.
- The raw bytes of an event and its sequence number.
- Number type used for referring to things that were sent to the server in responses from the server.