[][src]Enum x11rb::errors::ConnectionError

pub enum ConnectionError {
    UnknownError,
    UnsupportedExtension,
    MaximumRequestLengthExceeded,
    FDPassingFailed,
    ParseError,
    InsufficientMemory,
    IOError(Error),
}

An error that occurred on an already established X11 connection

Variants

UnknownError
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

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.

Trait Implementations

impl Debug for ConnectionError[src]

impl Display for ConnectionError[src]

impl Error for ConnectionError[src]

impl From<ConnectionError> for ReplyError[src]

impl From<ConnectionError> for ReplyOrIdError[src]

impl From<Error> for ConnectionError[src]

impl From<ParseError> for ConnectionError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.