Enum x11rb::errors::ReplyError
source · 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