Enum x11rb::errors::ConnectionError [−][src]
An error that occurred on an already established X11 connection
Variants (Non-exhaustive)
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).
An X11 extension was not supported by the server.
This corresponds to XCB_CONN_CLOSED_EXT_NOTSUPPORTED
.
A request larger than the maximum request length was sent.
This corresponds to XCB_CONN_CLOSED_REQ_LEN_EXCEED
.
File descriptor passing failed.
This corresponds to XCB_CONN_CLOSED_FDPASSING_FAILED
.
ParseError(ParseError)
Error while parsing some data, see ParseError
.
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]
pub fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<ConnectionError> for ReplyError
[src]
fn from(err: ConnectionError) -> Self
[src]
impl From<ConnectionError> for ReplyOrIdError
[src]
fn from(err: ConnectionError) -> Self
[src]
impl From<Error> for ConnectionError
[src]
impl From<ParseError> for ConnectionError
[src]
fn from(err: ParseError) -> Self
[src]
Auto Trait Implementations
impl !RefUnwindSafe for ConnectionError
impl Send for ConnectionError
impl Sync for ConnectionError
impl Unpin for ConnectionError
impl !UnwindSafe for ConnectionError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,