Enum x11rb::errors::ConnectionError
source · #[non_exhaustive]pub enum ConnectionError {
UnknownError,
UnsupportedExtension,
MaximumRequestLengthExceeded,
FdPassingFailed,
ParseError(ParseError),
InsufficientMemory,
IoError(Error),
}
Expand description
An error that occurred on an already established X11 connection
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
UnknownError
An unknown error occurred.
One situation were this error is used when libxcb indicates an error that does not match any of the defined error conditions. Thus, libxcb is violating its own API (or new error cases were defined, but are not yet handled by x11rb).
UnsupportedExtension
An X11 extension was not supported by the server.
This corresponds to XCB_CONN_CLOSED_EXT_NOTSUPPORTED
.
MaximumRequestLengthExceeded
A request larger than the maximum request length was sent.
This corresponds to XCB_CONN_CLOSED_REQ_LEN_EXCEED
.
FdPassingFailed
File descriptor passing failed.
This corresponds to XCB_CONN_CLOSED_FDPASSING_FAILED
.
ParseError(ParseError)
Error while parsing some data, see ParseError
.
InsufficientMemory
Out of memory.
This is XCB_CONN_CLOSED_MEM_INSUFFICIENT
.
IoError(Error)
An I/O error occurred on the connection.