pub enum ReplyOrIdError {
IdsExhausted,
ConnectionError(ConnectionError),
X11Error(X11Error),
}
Expand description
An error caused by some request or by the exhaustion of IDs.
Variants§
IdsExhausted
All available IDs have been exhausted.
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 ReplyOrIdError
impl Debug for ReplyOrIdError
Source§impl Display for ReplyOrIdError
impl Display for ReplyOrIdError
Source§impl Error for ReplyOrIdError
impl Error for ReplyOrIdError
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 ReplyOrIdError
impl From<ConnectionError> for ReplyOrIdError
Source§fn from(err: ConnectionError) -> Self
fn from(err: ConnectionError) -> Self
Converts to this type from the input type.
Source§impl From<IdsExhausted> for ReplyOrIdError
impl From<IdsExhausted> for ReplyOrIdError
Source§fn from(_: IdsExhausted) -> Self
fn from(_: IdsExhausted) -> Self
Converts to this type from the input type.
Source§impl From<ParseError> for ReplyOrIdError
impl From<ParseError> for ReplyOrIdError
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 ReplyOrIdError
impl !RefUnwindSafe for ReplyOrIdError
impl Send for ReplyOrIdError
impl Sync for ReplyOrIdError
impl Unpin for ReplyOrIdError
impl !UnwindSafe for ReplyOrIdError
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