pub enum ReplyError {
ConnectionError(ConnectionError),
X11Error(X11Error),
}
Expand description
An error that occurred with some request.
Variants§
ConnectionError(ConnectionError)
Some error occurred on the X11 connection.
X11Error(X11Error)
The X11 server sent an error in response to a request.
Trait Implementations§
Source§impl Debug for ReplyError
impl Debug for ReplyError
Source§impl Display for ReplyError
impl Display for ReplyError
Source§impl Error for ReplyError
impl Error for ReplyError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<ConnectionError> for ReplyError
impl From<ConnectionError> for ReplyError
Source§fn from(err: ConnectionError) -> Self
fn from(err: ConnectionError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for ReplyError
impl From<Error> for ReplyError
Source§impl From<ParseError> for ReplyError
impl From<ParseError> for ReplyError
Source§fn from(err: ParseError) -> Self
fn from(err: ParseError) -> Self
Converts to this type from the input type.
Source§impl From<ReplyError> for ReplyOrIdError
impl From<ReplyError> for ReplyOrIdError
Source§fn from(err: ReplyError) -> Self
fn from(err: ReplyError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ReplyError
impl !RefUnwindSafe for ReplyError
impl Send for ReplyError
impl Sync for ReplyError
impl Unpin for ReplyError
impl !UnwindSafe for ReplyError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more