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;

Structs§

DefaultStream
A wrapper around a TcpStream or UnixStream.
RustConnection
A connection to an X11 server implemented in pure rust

Enums§

ConnectError
An error that occurred while connecting to an X11 server
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.