Module rust_connection

Source
Expand description

A pure-rust implementation of a connection to an X11 server.

Re-exportsยง

pub use crate::errors::ConnectionError;
pub use crate::errors::ReplyError;
pub use crate::errors::ReplyOrIdError;

Modulesยง

packet_reader ๐Ÿ”’
Read X11 packets from a reader
stream ๐Ÿ”’
write_buffer ๐Ÿ”’

Structsยง

ConnectionInner ๐Ÿ”’
DefaultStream
A wrapper around a TcpStream or UnixStream.
NotifyOnDrop ๐Ÿ”’
Call notify_all on a condition variable when dropped.
RequestInfo ๐Ÿ”’
Format information about a request in a Display impl
RustConnection
A connection to an X11 server implemented in pure rust

Enumsยง

BlockingMode ๐Ÿ”’
ConnectError
An error that occurred while connecting to an X11 server
MaxRequestBytes ๐Ÿ”’
ParseError
An error occurred while parsing some data
PollMode
The kind of operation that one want to poll for.

Traitsยง

Stream
A trait used to implement the raw communication with the X11 server.

Type Aliasesยง

BufWithFds
A combination of a buffer and a list of file descriptors for use by RustConnection.
Buffer ๐Ÿ”’
MutexGuardInner ๐Ÿ”’