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 ๐ - Either
AtomicU64
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ยง
- XCBConnection
- A connection to an X11 server.
Enumsยง
- Connect
Error - An error that occurred while connecting to an X11 server
- Parse
Error - An error occurred while parsing some data
Functionsยง
- load_
libxcb - Tries to dynamically load libxcb, returning an error on failure.
- reconstruct_
full_ ๐sequence_ impl - Reconstruct a partial sequence number based on a recently received โfullโ sequence number.
Type Aliasesยง
- BufWith
Fds - A combination of a buffer and a list of file descriptors for use by
XCBConnection
. - Buffer ๐
- RawEvent
AndSeq Number - The raw bytes of an event received by
XCBConnection
and its sequence number.