Expand description
A FFI-based connection to an X11 server, using libxcb.
This module is only available when the allow-unsafe-code
feature is enabled.
Re-exports§
pub use crate::errors::ConnectionError;
pub use crate::errors::ReplyError;
pub use crate::errors::ReplyOrIdError;
Modules§
- atomic_
u64 🔒EitherAtomicU64
or emulatingAtomicU64
through aMutex
. - pending_
errors 🔒Management of pending errors for the XCB connection. - raw_ffi 🔒The low-level foreign function interface to interact with libxcb.
Structs§
- A connection to an X11 server.
Enums§
- An error that occurred while connecting to an X11 server
- An error occurred while parsing some data
Functions§
- Tries to dynamically load libxcb, returning an error on failure.
- Reconstruct a partial sequence number based on a recently received ‘full’ sequence number.
Type Aliases§
- A combination of a buffer and a list of file descriptors for use by
XCBConnection
. - Buffer 🔒
- The raw bytes of an event received by
XCBConnection
and its sequence number.